Appearance
Single sign-on
With single sign-on, people sign in with their organisation account, such as Microsoft Entra ID or ADFS, instead of a password here. The provider's own rules, such as multi-factor authentication and conditional access, then apply. Admin → Single sign-on sets it up. It needs the permission to change sign-in security.
Choosing a protocol
How does your provider sign people in?
- OpenID Connect: Microsoft Entra ID and most newer providers
- SAML 2.0: for a provider that does not, such as older ADFS
OpenID Connect
- Register the app with your provider. In Microsoft Entra ID: App registrations, a web application, with the Redirect address the page shows (Copy the redirect address).
- Enter what the provider gives you:
- Provider's issuer address. For Microsoft Entra ID:
https://login.microsoftonline.com/<your directory (tenant) ID>/v2.0 - Application (client) ID
- Client secret, from the app registration's certificates and secrets. Leave it blank later to keep the one saved.
- Provider's issuer address. For Microsoft Entra ID:
Signing in uses the authorisation code flow with PKCE and a nonce, and the provider's ID token is checked against its published keys, issuer, audience and lifetime.
SAML 2.0
- Add the application to your provider (in ADFS, a relying party trust; in Microsoft Entra ID, an enterprise application) with the Identifier (entity ID) and Reply address (assertion consumer service) the page shows, or give the provider the identifier, which is also the address of this service's metadata.
- Enter the Address of the provider's metadata. For ADFS:
https://<your ADFS server>/FederationMetadata/2007-06/FederationMetadata.xml. It gives the provider's sign-in address and signing certificates, and is read when you save (so a wrong address is caught then) and again when the provider changes its certificate.- Or paste the provider's metadata, only if your provider does not publish it at an address. Paste it again when the provider's certificate changes.
- Optionally Sign the requests sent to the provider, only if your provider requires it. Give it this service's metadata, which has the certificate the requests are signed with.
- For single logout, give the provider the Logout address the page shows. Signing out of the system then ends the person's session at the provider too, and a logout from the provider ends it here.
Responses must be signed and not encrypted. They are checked against the known attacks on SAML: every ID unique, exactly one assertion, a signature covering it with SHA-2, the issuer, audience, recipient, request and times as expected.
Both protocols
| Setting | |
|---|---|
| Let people sign in with their organisation account | On or off |
| What to call the provider | Such as Council account |
| Email domains | One per line, such as council.gov.uk. People with these addresses can sign in this way. Each domain belongs to one organisation. |
| Make people members the first time they sign in | See below |
| Require everyone to sign in with their organisation account | See below |
People sign in by choosing Sign in with your organisation account on the sign-in page and entering their work email address: its domain finds your organisation's provider. The email address the provider gives back must be in one of your domains and belong to a member.
The page shows when someone last signed in with it.
Members made by signing in
With Make people members the first time they sign in, someone with an address in one of the domains who is not yet a member becomes one, without an invitation, with the Role for new members you choose (a role with every permission cannot be chosen). Names come from the provider when it sends them. People whose access was taken away, and people who use the client portal, are not let in this way: that was someone's decision. The new membership is in the settings audit log.
Roles that follow the records
To give the whole workforce access, with managers able to do more, also choose a Role for members who manage someone. A member's role then follows the records: while their entry in a register with a hierarchy, such as employees, is directly above someone else's current entry (they are someone's line manager), they have that role; otherwise they have the role for new members.
- Members made by signing in follow the records from their first sign-in. For anyone else, choose Follow the records as their new role on the Users page.
- When the records change (someone moves to another manager, or leaves, perhaps in the HR system's daily file), roles change within a minute, when the system next works out who is above whom. Each change is in the settings audit log, made by the system.
- Choosing someone's role by hand stops it following the records.
- A role with every permission cannot be chosen, and administrators' roles never change this way.
Requiring single sign-on
With Require everyone to sign in with their organisation account, password sign-in is refused, except for people whose role lets them sign in with a password when single sign-on is required, so someone can still get in if the provider fails. Sessions that began with a password are held until the person signs in with the provider.
Before you can require it:
- someone must have signed in with it successfully, which proves the provider works, and
- someone must still be able to sign in with a password, for the day it stops working.
Getting back in
If your provider stops working while sign-on is required (an expired client secret, a deleted app registration, an outage), the only way in is an account whose role keeps password sign-in. Make sure its password is somewhere your incident responders can reach, and keep the client secret's expiry date in your own calendar.
The client portal
Single sign-on is for your organisation's staff. People with client portal access always sign in with their own password and, if your organisation requires it, two-factor authentication.