Use OneLogin
To enable single sign on (SSO) using OneLogin, you must configure OneLogin SAML Test Connector ldP application and Incorta.
Perform the following steps for each tenant using OneLogin.
- Configure OneLogin, see Configure OneLogin.
- Modify the
onelogin-conf-samele.properties
file and rename it, see Create a Configuration file a Configuration file). - Modify the
server.xml
file to reference the DS configuration file. See Modifyserver.xml
. - Restart Incorta.
- Configure OneLogin SSO and Incorta. See Configure OneLogin SSO and Incorta.
- Create a user in OneLogin. See Create a user in OneLogin.
- Create a user in Incorta. See Create a user in Incorta.
Configure OneLogin SSO
Use the following steps to configure OneLogin:
- Navigate to your OneLogin Admin page.
- Create a new application "SAML Test Connector (ldP)".
- Change the name to the tenant name and save.
- Navigate to the OneLogin Configuration tab.
- Add the ACS (Consumer) URL Validator. When running on localhost, for example,
http://localhost:8080/incorta/!demo
. - Add the ACS (Consumer) URL. This is the URL that directs you to single sign on and logs you into Incorta. For example, http://localhost:8080/incorta/!demo.
- Add the Single Logout URL. For example: http://localhost:8080/incorta/!demo/#/authservice/logout.
- From the Parameters tab, add the parameter "loginName" and set its value to Username.
- Open Single Logout URL and select SAML metadata to download the generated properties configuration file.
Configure OneLogin SSO and Incorta
- After installing Incorta, navigate to
<Incorta_Installation>server/lib
which contains theincorta.onelogin.valv-1.0.jar
file. - Update the
server.xml
file located in<Incorta_Installation>server/config
with the following properties:<Valve LoggingEnabled="true" className="com.incorta.sso.valves.OneLoginValve" confFilesMap="demo=/home/aya/Downloads/demo.properties"/>
. Demo represents the path to thedemo.properties
file and must be changed to reflect the actual path to thedemo.properties
file. - Update properties with your port number.
- Enable SSO from the TMT
(./tmt.sh -u <tenant name> sso-login-enable true -clnm <cluster-name>)
. - Stop and start the Incorta server.
- Sign in to
http://localhost:port/incorta/!tenant/
.
You are redirected to the https://admin.us.onelogin.com/apps page to authenticate with your username and password. You are then redirected to the Incorta home page and logged on without supplying an Incorta username and password.
Create a user in OneLogin
- Navigate to the OneLogin Admin page.
- From the Users tab, choose All Users.
- Select New User.
- Add the new user data and select Save User.
- Navigate to the Application tab and the previously created application.
Create a user in Incorta
Create a user with the same login name and email used to create the new user in OneLogin.