Single Sign On (SSO) with Microsoft Entra ID

QRdex.io integrates with Microsoft Entra ID using the SAML 2.0 protocol for secure enterprise authentication. This guide will help you set up SSO for your team.

Prerequisites

Follow these steps to configure SSO with Microsoft Entra ID (formerly Azure AD) for your QRdex.io team. SSO allows your team members to sign in using their Microsoft credentials.

Key Concepts

Available Authentication Methods

IdP-Initiated SSO

Access through your Microsoft portal. Recommended for first-time users.

SP-Initiated SSO

Direct access through our SSO sign-in page.

Configuration Steps

  1. Sign in to the Azure Portal and navigate to Microsoft Entra ID (Azure Active Directory).
  2. Go to "Enterprise applications" and click "New application".
    • Choose "Create your own application"
    • Name it "QRdex.io"
    • Select "Integrate any other application you don't find in the gallery (Non-gallery)"
  3. In your new application, go to "Single sign-on" in the left sidebar and select "SAML".
  4. Configure the following Basic SAML settings:

    Identifier (Entity ID): https://qrdex.io

    Reply URL (Assertion Consumer Service URL): https://qrdex.io/users/saml/auth

    Sign on URL: https://qrdex.io/sso

  5. Under "User Attributes & Claims", ensure the following claims are configured:

    Display Name: user.displayname

    Email: user.mail

    Unique User Identifier (Name ID): user.mail

  6. Under "SAML Certificates", copy the "App Federation Metadata Url". You'll need this for the next step.
  7. Go to your SSO Settings page on QRdex.io:
    • Select "Microsoft" as the vendor
    • Paste the Federation Metadata URL you copied
    • Save the settings
  8. Back in Azure, under "Users and groups":
    • Click "Add user/group"
    • Assign users who should have access to QRdex.io
    • Users must sign in via Microsoft SSO first to create their account
  9. Test the configuration by going to the SSO sign-in page and entering an assigned user's email address.

Important Notes

Security Note: All SAML communications are encrypted and signed to ensure secure authentication. Make sure to keep your Microsoft Entra ID configuration secure and regularly review user access.

Troubleshooting