Help: Microsoft Entra SSO

This help page is only available in English.

 

LearningStone-Entra

Organizations can set up a Microsoft Entra SSO for LearningStone and fill in the table in Step 5, below. LearningStone support can then configure the OpenID module in LearningStone. From then  on: users can login with their organizational Microsoft credentials. If they try to login with email + password, LearningStone will redirect the user to the official login of the organization.
A LearningStone groupspace can also be secured by adding the domain in the allowlist, stopping non SSO users from being added to the group. The allowlist can be found in the groupspace-settings.

How the login works and how to test

If a member logs in with an email address with a domain that is configured as Open ID domain, then LearningStone will redirect to the organization for the member to log in there. If the member logs in and there was no account yet, it is automatically created. Members need to be invited to be able to join a groupspace.

How to test: Go login at  https://www.learningstone.com/logon and use an email account from the organization. A button appears to log in at the organization and - after logging in - an account is created. You can also invite a new member by adding them in “Organize members” in a LearningStone groupspace.

 

How to configure Microsoft Entra

To set up LearningStone as an OpenID Connect (OIDC) provider within your Microsoft Entra environment, you essentially need to register LearningStone as an App Registration.

This allows Entra to act as the "Identity Provider" (IdP) so that when users try to login in LearningStone, Entra recognizes the request and logs them in.

Here is the exact workflow in the Microsoft Entra admin center

 

1. Create the App Registration

  1. Sign in to the Microsoft Entra admin center.
  2. Go to App registrations in the left menu (if returning, click on “Alle applications”)
  3. Select + New registration.
  4. Name: Enter something recognizable, like LearningStone SSO.
  5. Supported account types: Select Single tenant only / Accounts in this organizational directory only (unless you want other companies to use your app registration, then choose Multitenant).
  6. Redirect URI: * Select Web from the dropdown.
    • Enter the URL provided by LearningStone which is: https://www.learningstone.com/oauth-service/redirect
  7. Click Register.

Note: if you return to App Registrations, click on “All applications” if needed to find your app. You might need to reload a page before a registration is displayed.

 

2. Generate Credentials (Client Secret)

LearningStone needs a "password" to talk to Entra. Don’t forget step 4!

  1. In your new app registration, go to Certificates & secrets in the left menu.
  2. Select + New client secret.
  3. Add a description (e.g., LearningStone Secret) and set the expiration: 730 days.

IMPORTANT: Copy the Value immediately. You will not be able to see it again after you leave this page. (ignore the Secret ID; you need the Value).

LS107-10

3. Configure Permissions

  1. Go to API permissions in the left menu of the registration.
    By default, User.Read is usually there. Click on Microsoft Graph  and choose the following delegated permissions for Microsoft Graph are present
    Email
    • openid
    • profile
    • Read
  2. Click Grant admin consent for [Your Company] to ensure users aren't prompted to "accept" the app individually. Do not forget this step!

LS107-20-

LearningStone-logo-STONE-for Entra-215x215
Click to download

4. Logo and links

Choose “Branding & properties” in the menu of the App registrations to upload the logo (215x215) and fill in the links for the home page, terms and privacy.

 

https://ww.learningstone.com

https://www.learningstone.com/terms

https://www.learningstone.com/privacy

 

5. Gather Information for LearningStone

Now, go to the Overview page of your app registration (at the top of the left menu). You need to copy four pieces of data to paste into the LearningStone settings:

Information for Entra config at LearningStone
Email to support@learningStone.com
>> Except A1 (see below)

 

Organization details

Organization

Name
Email
Telephone

Date

 

Information from Entra

 

A1. The Secret Value (not ID)
(from step 2 above)

DO NOT EMAIL, SEND DIRECTLY VIA A TEXT MESSAGE 

 

A2. Expiration date

 

B. Display name

 

C. Application (client) ID 

 

D. Directory (tenant) ID 

 

E. Endpoints > OpenID Connect metadata document (scroll down!)

The .well-known endpoint URL which looks like this: 

https://login.microsoftonline.com/123456789/v2.0/.well-known/openid-configuration

 

F. Organization email domain

The part that comes after @ in the emails.

 

6. Skip this step: Final Step: Enable ID Tokens

  1. Go to Authentication in the left menu of the app you just created (under Manage)
  2. Go to Settings and go to the Implicit grant and hybrid flows section.
  3. Check the box for ID tokens (used for implicit and hybrid flows).
  4. Click Save.

 

Trouble shooting

If your users get an error saying "User not assigned to application," make sure you go to Enterprise Applications, find your LearningStone app, and either assign specific users/groups or toggle "Assignment required" to No under Properties.

 

What to do at LearningStone

(LearningStone Host admin only)

To configure the SSO service for LearningStone powered applications, choose Admin > Auth > Open ID  and fill in the values from the table above.

Information for Entra config at LearningStone
Email to support@learningStone.com
>> Except A1 (see below)

 

Organization details

Organization

Name
Email
Telephone

Date

 

Information from Entra

Field in LearningStone

A1. The Secret Value (not ID)
(from step 2 above)

DO NOT EMAIL, SEND DIRECTLY VIA A TEXT MESSAGE 

A1. Client Secret

A2. Expiration date

A2. Not needed for LearningStone, for our reference only

B. Display name

B. Not needed for LearningStone, for our reference only

C. Application (client) ID 

C. Client ID

D. Directory (tenant) ID 

D. Tenant ID

E. Endpoints > OpenID Connect metadata document (scroll down!)

The .well-known endpoint URL which looks like this: 

https://login.microsoftonline.com/123456789/v2.0/.well-known/openid-configuration

 

Note to LearningStone admin:
Remove http:// and .well-known….
so it looks like this:
login.microsoftonline.com/123456789/v2.0/

(leave end slash)

E. Issuer domain

 

F. Organization email domain

The part that comes after @ in the emails.

F. Domains

Anmelden, um mit Alice, unserem Helpbot, zu chatten

Anmeldung
Zur Startseite hinzufügen Annullieren

Diese Website verfügt über App-Funktionalität. Fügen Sie es zu Ihrem Startbildschirm hinzu, um es im Vollbildmodus zu verwenden.

1) Drücken Sie die Schaltfläche 'Teilen'.
2) Drücken Sie 'Zur Startseite hinzufügen'.
Anschließen ...
Testen Sie Ihre Verbindung >