This guide outlines the steps to configure Google Workspace as the Identity Provider (IdP) for Scandlearn LMS3 (Production Environment).
Prerequisites:
-
Super Admin access to the Google Admin Console.
-
Admin access to the Scandlearn LMS3 panel.
Phase 1: Create the App in Google Workspace
Since Scandlearn requires your Google credentials before generating the final connection URLs, we must first set up the app with temporary details.
-
Log in to the Google Admin Console.
-
Navigate to Apps > Web and mobile apps.
-
Click Add app > Add custom SAML app.
-
App Name: Enter a name (e.g., "Scandlearn LMS") and click Continue.
-
Google Identity Provider Details:
-
Copy the SSO URL.
-
Copy the Entity ID.
-
Download the Certificate.
-
Keep these details accessible, as you will need them in Phase 2.
-
Click Continue.
-
-
Service Provider Details: Enter the following temporary URLs to bypass this screen:
-
ACS URL:
https://app.scandlearn.net/sso/temp/acs -
Entity ID:
https://app.scandlearn.net/sso/temp/metadata -
Click Continue.
-
-
Click Finish (we will configure attributes later).
Phase 2: Configure Scandlearn & Retrieve Real URLs
-
Open a new tab and log in to your Scandlearn Admin Panel.
-
Navigate to the SSO configuration page:
https://app.scandlearn.net/admin/configure/sso/saml -
Enter the data you copied from Google in Phase 1:
-
Entity ID (Ex: Microsoft Entra Identifier): Paste the Google Entity ID.
-
Login URL: Paste the Google SSO URL.
-
Logout URL: Paste the Google SSO URL (or your preferred logout redirect).
-
SAML Certificate: Open the certificate file you downloaded with a text editor (e.g., Notepad), copy the entire text string, and paste it here.
-
-
Click Save.
-
Important: Once saved, an orange box titled "Important Notice" (or Basic SAML Configuration) will appear on the right side of the screen.
-
Copy the generated Identifier (Entity ID) and Reply URL (Assertion Consumer Service URL).
Phase 3: Update Google with Production URLs
-
Return to the Google Admin Console and open the app you created in Phase 1.
-
Click on Service provider details.
-
Replace the temporary URLs with the specific production URLs you just retrieved from Scandlearn:
-
ACS URL: Paste the Reply URL from Scandlearn (Ensure it ends in
/acs, NOT/login). -
Entity ID: Paste the Identifier (Entity ID) from Scandlearn.
-
-
Click Save.
Phase 4: Configure Attribute Mapping
Scandlearn requires specific user attributes to identify accounts correctly.
-
In the Google app settings, click on SAML attribute mapping.
-
Click Configure SAML attribute mapping (or Add Mapping).
-
Add the following three mappings exactly as shown below:
| Google Directory Attribute | App Attribute |
| Primary Email | email |
| Primary Email | principalname |
| First Name | name |
-
Click Save.
Phase 5: Activate the Application
-
In the Google app menu, click on User access.
-
Change the status from "OFF for everyone" to ON for everyone (or assign to specific organizational units).
-
Click Save.
Verification
To verify the connection:
-
Open an Incognito/Private browser window.
-
Go to the Scandlearn login page.
-
Click the "Login with SSO" button (or enter your email to trigger SSO).
-
You should be redirected to Google for authentication and then immediately back to Scandlearn, logged in successfully.