AlphaLearn supports SAML-based SSO, acting as a Service Provider (SP) that delegates authentication to OneLogin as the Identity Provider (IdP). Once configured, users can log in to AlphaLearn using their existing OneLogin credentials.
Step 1: Add AlphaLearn as an Application in OneLogin
- Log in to OneLogin and go to Administration → Applications → Applications.
- Click Add App, search for SAML Custom Connector (Advanced), and select it.
- Set the Display Name to AlphaLearn LMS and click Save.



Step 2: Configure the X.509 Certificate
- In the AlphaLearn LMS application in OneLogin, click SSO in the left menu.
- Under X.509 Certificate, click Change, select Low Strength Certificate, and click Continue.

Step 3: Add SAML Parameters
- Click Parameters in the left menu and click the + icon to add each of the following. For each: enter the field name, check Include in SAML assertion, click Save, select the value, and click Save again.
- email → Value: Email
- fname → Value: First Name
- lname → Value: Last Name
Note: The field names
email, fname, and lname must be entered in lowercase exactly as shown.

Step 4: Enable OneLogin SSO in AlphaLearn
- In AlphaLearn, go to Customize → SSO.
- Select OneLogin as the Identity Provider and click Submit.
- Click on OneLogin to edit it and enter the following values (found in OneLogin → Application → AlphaLearn LMS → SSO):
- Entity ID → Issuer URL
- Single Sign-On Service → SAML 2.0 Endpoint (HTTP)
- Single Logout Service → SLO Endpoint (HTTP)
- Signing Cert → click View Details under X.509 Certificate and copy the full certificate text
- Click Update. Note the Config Details values – you will need them in the next step.


Step 5: Enter AlphaLearn Config Details in OneLogin
- In OneLogin, go to Administration → Applications → AlphaLearn LMS → Configuration and enter the following values from AlphaLearn’s Config Details:
- Audience (Entity ID) → Audience
- Recipient → Recipient
- ACS (Consumer) URL Validator → ACS (Consumer) URL
- ACS (Consumer) URL → ACS (Consumer) URL
- Single Logout URL → Single Logout URL
- Login URL → Login URL
- SAML signature element → select Both
- Leave all other fields blank and click Save.

Auto-registration: If a user is not yet registered in AlphaLearn and logs in via SSO, an account is created automatically. Ensure the AlphaLearn LMS application is assigned to the relevant users in OneLogin before going live.