Skip to content

Single Sign-On

With single sign-on, people of your e-mail domains sign in through your organization’s identity provider instead of with a password. It works with any provider that speaks OpenID Connect, such as Microsoft Entra ID or Google Workspace, or SAML 2.0.

Single Sign-On, under Administration in the menu, is for administrators.

Your people can also sign in with their own Microsoft, Google or Apple accounts without any of this. That needs no set-up of yours: see Ways to sign in.

The Single sign-on page

Your domains. A domain decides where its addresses sign in, so your organization proves it holds each one. Ask the operators of your instance (DigitalPrez, on a hosted instance) for your domain. They give you a TXT record to add to your domain’s DNS: its name, such as _netblueprint-forge-challenge.example.com, and its value, token= and 32 letters and digits. Once the record is found, the domain counts for sign-in; until then, everyone signs in with a password or the other ways your organization allows. Keep the record: it is looked for again every day, and a domain whose record has been gone for 14 days stops counting until it is back. Your domains are shown at the top of the page.

One protocol at a time. Under How Your Provider Signs People In, choose OpenID Connect or SAML 2.0. Turning SAML on turns OpenID Connect off, and the other way round.

  1. In your identity provider, register an application for NetBlueprint Forge.
  2. On the Single Sign-On page, choose OpenID Connect and fill in:
    • Provider: Microsoft Entra ID, Google Workspace, or Another OpenID Connect provider.
    • For Entra ID, the Directory (tenant) ID, which is required. It is a GUID, shown in the Microsoft Entra admin center under Entra ID, Overview. For Google, the Hosted Domain (Optional).
    • Issuer: the provider’s address. For Entra ID that is https://login.microsoftonline.com/<Directory (tenant) ID>/v2.0; for Google, https://accounts.google.com. Entra’s common and organizations addresses are refused, because no sign-in could match them.
    • Client ID and Client Secret from the application you registered. The secret is kept sealed with your organization’s key. See The stored client secret.
  3. Decide on Newcomers.
  4. Leave Single sign-on is on switched on, and choose Save.
  5. The page now shows the address to send people back to. Register it in your provider as the redirect address of the application.

From then on, when someone types an address of your domains on the sign-in page, they are sent to your provider. See Sign in.

What the application checks:

  • The provider’s answer is checked against its published keys, and must name the address and confirm it.
  • With Entra ID, the person must belong to your tenant. With Google, they must belong to your hosted domain, if you set one.
  • The address must be of one of your domains.

Once a secret is stored, the page shows it masked to its last four characters, for example ••••••••7Q2x, with a badge such as Encrypted, Organization Key v2: sealed with your organization’s own key, at that version. Type a new secret in Client Secret only to replace it.

Reveal shows the whole secret, for when you move the set-up or check it against your provider:

  1. Choose Reveal.
  2. If you have not confirmed it is you in the last 10 minutes, the page asks you to: type a code from your authenticator app, or use a passkey you have. Without either, add one at Sign-in security first.
  3. The secret shows for 30 seconds, with Copy and Hide, and is then masked again.

Each reveal is recorded in the activity log as Secret revealed, with who and when, before the secret is shown. Only administrators can reveal it, and a DigitalPrez support session never can.

SAML keeps no secret: the certificates it stores are public, so they carry no badge.

  1. On the Single Sign-On page, choose SAML 2.0. Under Give Your Identity Provider These, the page shows the Entity ID, the Reply (ACS) Address and the Metadata address of your organization.
  2. In your identity provider, add an application for NetBlueprint Forge with that entity ID and reply address. Or give it the metadata address, which holds both. Have it:
    • sign the assertion itself, with SHA-256 or stronger;
    • send a persistent NameID, and the person’s e-mail address;
    • not encrypt the assertion, which is not accepted.
  3. Paste your provider’s SAML metadata (XML) in Metadata. Your provider’s administrator has it, or it is at the provider’s metadata address.
  4. Decide on Newcomers.
  5. Leave SAML single sign-on is on (this turns OpenID Connect off) switched on, and choose Save.

The page says “Saved. People of your domains are sent to this provider when they sign in.” Under Your Identity Provider, it now shows the provider’s entity ID, its sign-in address, and its certificate: who it names, until when it is valid, and its SHA-256 fingerprint. Nothing is fetched from your provider: what you pasted is what is believed.

To change anything the metadata says, paste new metadata in New Metadata and save.

When Your Provider Changes Its Certificate

Section titled “When Your Provider Changes Its Certificate”

Before the change, paste the new certificate as PEM text in Next Certificate and save. Both certificates are believed until you paste new metadata that names only the new one. So nobody is shut out while your provider switches.

  • Only sign-ins it started. A sign-in must start on the sign-in page. Starting it from your provider’s own portal or app launcher is refused.
  • The signature. The assertion must be signed itself, with SHA-256 or stronger, by your provider’s certificate. SHA-1 is refused.
  • Where it is for. The answer must be for your organization’s entity ID and reply address, and within its time window.
  • Once only. Each assertion is taken once.
  • The person. People are known by the NameID. The address must be of one of your domains.

If another administrator saves these settings while you have them open, the page says what they changed at once, keeping yours; if they saved before it could tell you, your save is refused and it says the same; saving again puts yours in place of theirs. The same holds for SAML and for roles from groups. See When someone else saved first.

With Newcomers on (Let in people of your domains who are not here yet), a person of your domains who signs in for the first time gets an account. They get the roles their groups give, if you map groups (below), or else the role you chose in They Start As: author, assessor or auditor. User created by sign on is recorded.

With it off, they see “You are not in your organization’s workspace yet. Ask its administrator to add you.” Invite them instead.

A newcomer needs a free seat. When every seat of your organization is taken, they see “Your organization has no free seat, so you cannot join its workspace yet. Ask its administrator to free a seat.” An invitation waiting for their address holds a seat for them. See Seats.

Your provider can say which groups a person is in, and a group can give a role here. People who sign in through your provider then get their roles from their groups.

  1. Have your provider send the groups. In the Groups claim (OpenID Connect) or the Groups attribute (SAML), type the name it sends them under:
    • Microsoft Entra ID, OpenID Connect: groups, after adding the groups claim to the application’s token configuration. Its values are the groups’ object IDs. To send app roles instead, use roles.
    • Microsoft Entra ID, SAML: http://schemas.microsoft.com/ws/2008/06/identity/claims/groups.
    • Other providers: the name you give the groups in the application’s settings there.
  2. Save the provider’s settings.
  3. Under Roles From Groups, choose Add a Group for each group. Type the group’s value as your provider sends it, such as its object ID, and choose its role: Author, Assessor or Auditor.
  4. Choose Save the Groups.

A group never makes an administrator or a member of the central team. Those are given by a person, on the People page. Whoever can change a group in your directory could otherwise make administrators.

The roles are set again at every sign-in through your provider. A person’s author, assessor and auditor roles become what their groups give now. Administrator and central team stay as they were set on the People page. A person in no mapped group keeps any administrator or central team role, and otherwise gets the role in They Start As. A change is recorded as User roles from groups.

So a role you change by hand on the People page for someone who signs in through your provider lasts until their next sign-in.

Microsoft Entra ID leaves the groups out of the sign-in when a person is in more than 200 groups (OpenID Connect) or 150 (SAML). Then no group is read, so the person gets the role in They Start As, and User groups not read is recorded in the activity log. To avoid it, in Entra ID send only the groups assigned to the application, or use app roles and the roles claim.

A provider that sends no groups at all counts as none: the person gets the role in They Start As.

Your organization can require everyone to have an authenticator app or a passkey: see Ways to sign in. A sign-in through your provider then counts only when the provider says it checked a second step. If it does not say so, the person is asked here for their own authenticator app or passkey, or to set one up.

What counts as saying so:

  • OpenID Connect: an amr value of mfa, otp, hwk, swk or sc, or the REFEDS profile https://refeds.org/profile/mfa as acr.
  • SAML: the REFEDS profile or urn:oasis:names:tc:SAML:2.0:ac:classes:MobileTwoFactorContract as the AuthnContextClassRef; Entra ID’s http://schemas.microsoft.com/claims/multipleauthn in the http://schemas.microsoft.com/claims/authnmethodsreferences attribute; or an attribute named amr with one of the amr values above.
  • Any value you type in Values that prove a second step, separated by spaces, such as Okta’s urn:okta:loa:2fa:any or an Entra ID authentication context.

What to set at your provider:

  • Microsoft Entra ID: add the optional amr claim to the application’s tokens. For SAML, add it with granular amr values, so the authnmethodsreferences attribute is sent.
  • Okta: OpenID Connect sends amr. For SAML, turn on “Pass Dynamic Authentication Context” with an attribute named amr.
  • Google: the application asks Google for amr, which Google sends only with “Authentication strength claims” turned on for your project.

A session your provider proved this way is recorded as signed in with sso mfa.

Switch Single sign-on is on (or SAML single sign-on is on) off and choose Save. Until it is on again, the sign-in page asks people of your domains for a password, or offers the other ways your organization allows. People who have only ever signed in through your provider have no password. Someone already on the way to your provider when you switch it off comes back to a refusal and signs in again.

Every change is recorded as Organization sso changed, and a change to the groups as Organization group roles changed.

There is no button to test the connection. Sign in with an address of your domains in another browser to check it.