At a glance: Configure the SSO process using OneLogin as an identity provider (IdP).
The first stage in configuring the AppsFlyer SSO process is done on the OneLogin platform. Follow the steps below:
Create the AppsFlyer app in OneLogin
Prerequisite: A OneLogin account with administrative privileges.
- In the OneLogin admin console, go to Applications > Applications.
- From the top right, click Add App.
- Search for and select SAML Custom Connector (Advanced).
- In the Display Name field, enter the name to show in the OneLogin plugin list of apps.
- [Optional] App logo: Add a logo to appear near the app name.
- [Optional] Add a description.
- Click Save. A success message appears at the top.
- Go to the Configuration tab on the side menu.
-
Define the integration according to the following fields:
- Audience (EntityID): Enter this link: https://hq1.appsflyer.com
- ACS (Consumer) URL Validation, ACS (Consumer) URL: Enter the endpoint to which OneLogin sends the user verification. Use the link according to the callback URL configuration described here
- Recipient: Enter the same URL as entered in the ACS (Consumer) URL field.
- Login URL: Enter the AppsFlyer login URL.
- SAML not valid before, SAML not valid on or after: Specify the time period (in minutes) the assertion is valid for.
-
SAML initiator: Select from where authentication begins:
- For authentication starting from the IdP, select OneLogin
- For authentication starting from AppsFlyer, select Service Provider
- SAML nameID format: Select Email.
- SAML issuer type: Select Specific.
- SAML signature element: Select Both.
- Encrypt assertion: Select this checkbox.
- SAML encryption method: Select AES-256-CBC.
- Click Save.
-
Assertion encryption:
- Open the SSO metadata URL and copy the encryption certificate value.
- Go back to the Configuration tab and paste it into the SAML encryption text box.
- Click Save.
Get IdP SSO metadata
- From your selected application (Applications > Applications), select SSO from the side menu.
- Copy the Issuer URL and paste it into a new tab to download the SSO metadata.
Create OneLogin users
- From the top menu, go to Users > Users.
- Click New User from the top right.
- Enter the user's First name, Last name, and Email.
- From the top right, click Save User then More Actions, and select Change Password to set the user a password.
- Set a password for the user and click Update.
Assign users to your app
- Go to the Application tab in the side menu of the selected user.
- Click the + sign near Applications.
- Select the AppsFlyer app you've created and click Continue.
- From the top menu, go to Applications > Applications.
- Select the application you've just created.
- Click Save.
Complete the process in AppsFlyer
Now that you've configured the IdP part, go back to AppsFlyer to complete the configuration. You can then test to see that it works.