Skip to main content

Single Sign-On (SSO) with SAML via Microsoft Entra ID

Let your team sign in to revel8 with their Microsoft accounts, using SAML single sign-on through Microsoft Entra ID.

ℹ️ Info
Part of the Getting Started guide, Before you begin.

Connect revel8 to Microsoft Entra ID so your team signs in with their Microsoft accounts. You work in two tabs side by side: the Microsoft Entra admin center, and revel8 under Settings → Access Controls (in Identity & access).

1. Open single sign-on for the revel8 app in Entra

  1. In the Microsoft Entra admin center, open the Enterprise application for revel8.

  2. Click Single sign-on, then choose SAML.

The Single sign-on page of the revel8 enterprise application in Microsoft Entra, with SAML selected

2. Copy the revel8 identifiers into Entra

  1. In Entra, click Edit next to Basic SAML Configuration.

    The Basic SAML Configuration section in Microsoft Entra with the Edit button
  2. In revel8, open Settings → Access Controls. The Identity provider card shows the two values Entra needs, each with a copy button.

    The revel8 Access Controls page with the Identity provider card showing Metadata file, Entity ID and ACR URL
  3. Paste them into Entra:

    • revel8 Entity ID goes into Identifier (Entity ID).

    • revel8 ACR URL goes into Reply URL (Assertion Consumer Service URL).

    The Entra Basic SAML Configuration form with the Identifier and Reply URL fields marked
  4. Click Save in Entra.

3. Upload the Entra metadata to revel8

  1. In Entra, under SAML Certificates, download Federation Metadata XML.

    The SAML Certificates section in Microsoft Entra with the Federation Metadata XML download link
  2. In revel8, under Metadata file, click Upload and select the XML file.

    The Metadata file row on the revel8 Identity provider card with the Upload button

The Identity provider card now shows Active instead of Not configured.

4. Check the claims Entra sends

The default claims of an Entra SAML app already include what revel8 reads. Open Attributes & Claims only to confirm them:

Claim

revel8 uses it for

Needed

http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress

Email address

Required

http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

First name

Recommended

http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

Last name

Recommended

http://schemas.microsoft.com/ws/2008/06/identity/claims/groups

Group-to-role mapping (step 6)

Only if you map groups

revel8 does not read the name claim, so you can leave it as it is.

The Attributes and Claims section of the revel8 enterprise application in Microsoft Entra

5. Assign users and groups

In Entra, open Users and groups, click Add user/group, and add the people who should sign in to revel8. By default, Entra only lets assigned users and groups sign in to the app.

The Users and groups page of the revel8 enterprise application in Microsoft Entra

6. Map Entra groups to revel8 roles (optional)

Instead of setting each person's role by hand, revel8 can assign roles from Entra group membership at sign-in.

  1. In Entra, under Attributes & Claims, click Add a group claim and choose which groups to send.

  2. In revel8, under Group-to-role mapping, click Add mapping.

  3. Under SAML group, enter the group exactly as Entra sends it. Under Role, choose EMPLOYEE, EDITOR, CISO or DIRECTOR. You can only map to roles up to your own.

  4. Repeat for each group, then click Save Mappings.

The revel8 Group-to-role mapping card with one SAML group mapped to the CISO role

⚠️ Warning
By default, Entra sends each group's Object ID, not its name. Enter the Object ID under SAML group, or change the group claim to send names. A mapping that does not match exactly what Entra sends never applies.

7. Require single sign-on (optional)

Once single sign-on works, you can turn off password sign-in for everyone. On the Identity provider card, switch on Require single sign-on. The switch becomes available once the card shows Active.

The Require single sign-on switch on the revel8 Identity provider card

Members then sign in only through Entra. The Password policy and Two factor authentication settings no longer apply, and revel8 greys them out.

🚫 Important
Test a full sign-in through Entra before you switch this on. With it on, a broken single sign-on configuration locks every member out.

Check that it works

Open revel8 in a private browser window and sign in with single sign-on, using an account you assigned in step 5. If you set up group mappings, confirm the account received the expected role.

Did this answer your question?