How to set up OneLogin
If OneLogin is your Identity Provider (IDP), here you can find more information on how to get started with using OneLogin SSO via Learnworlds.
On your administration page go to Applications → Applications and Add App.
Choose SAML Custom Connector.
Configure the first page and click on Save.
Log in to your LearnWorlds school with your Learnworlds admin account. You need to use the LearnWorlds admin (school owner) account, to set up SAML for your LearnWorlds school; in case you misconfigure your setup, then only this account will be able to sign in to your school. Hence all the changes in the Sign in/up page regarding SSO will have to be made by the LearnWorlds admin.
1. Go to Site builder → Sign in/up and select SAML.
2. Add a new SAML
3. Activate SAML and add a name for this SAML solution.
4. From the SAML settings copy the corresponding information into your OneLogin Application Configuration tab, according to the following table:
LearnWorlds | OneLogin |
Service Provider (SP) URL | Audience (EntityID) |
Assertion Consumer Service (ACS) URL | ACS (Consumer) URL Validator |
Assertion Consumer Service (ACS) URL | ACS (Consumer) URL |
Assertion Consumer Service (ACS) URL | Login URL |
5. You need to set up your school with your OneLogin IDP Application.
Go to your OneLogin Application, SSO tab and copy the corresponding values to your LearnWorlds school’s SAML settings, according to the following table:
OneLogin | LearnWorlds |
Issuer URL | IDP Identifier (Entity ID) |
SAML 2.0 Endpoint (HTTP) | Sign-on URL |
SLO Endpoint (HTTP) | Single Logout URL |
X.509 Certificate | Identity Provider Certificate |
6. In order to pass the First and Last names of the users, you would need to set up two parameters in your OneLogin Application “givenName” as the user’s “First Name” and “surname” as the user’s “Last Name”. Your Application parameters settings should be as follows:
Make sure to tick Include in SAML assertion:
Finally, complete any other settings you require on your OneLogin Application and of course, give access to your OneLogin users to the new Application, and your setup is completed.
If you're using SAML as an authentication method, it's mandatory to change the Site Navigation settings in the Payment Flow section for Logged-out users, as they will need to sign up/log in before proceeding to the payment page.
Also, you need to ensure that in all Payment Sections of your school's pages, 1-click Sales funnels, or the Payment Page of your school, the Sign in/up form option is set to hide since the user will not be able to sign in/up via the Learnworlds system.
Notes:
- The changes in the Sign in/up page regarding SSO will have to be made by the LearnWorlds admin.
- If you wish to use our built-in Affiliate Management program, you should consider not using the SSO solution, since it will not be feasible to use this feature and track sales.
- If you enable OneLogin the LearnWorlds password update/reset functionality will not be available.
- If you want to use more than 3 custom SSO solutions please contact us at support@learnworlds.com.