Preview: this product has not been released yet. The description may change before release.
Skip to main content

External providers

The MNC can delegate signing in to a foreign identity service. Once one is registered and enabled, an extra button appears on the sign-in page; whoever presses it is sent over to that service, signs in there and comes back confirmed. Password and second factor then live over there, not here.

What is entered here is a registration — the statement of which foreign service this installation knows, and under which credentials it talks to it.

The page takes the permission identity.external-provider.read (changing it identity.external-provider.manage), both in the template Administrator only, because a sign-in route applies to every account and not just to your own.

What is entered​

FieldWhat goes in
TemplateA starting point for Entra ID, Keycloak, Okta or a generic OIDC service. It only pre-fills fields; the service never learns which one was picked.
Display NameThe name on the button of the sign-in page.
SchemeThe technical identifier of this route, lower case. It is part of the callback URL and cannot be changed after creation.
AuthorityThe address of the service, from which its OIDC description is found.
Client IDFrom the registration at the service.
Client SecretFrom there as well. Leaving it empty while editing means: keep the stored one.
ScopesWhat is requested at the service, separated by spaces. openid profile email is the usual set.
E-mail domainsWhich addresses this service may speak for, separated by commas — say customer.com, customer.co.uk. Without a domain it signs nobody in; see below.
Redirect URIShown, not entered — see below.
Offer on the sign-in pageWhether the button appears.

Client ID and client secret come from the registration at the service itself. The MNC is created as an application there, and what comes out of that is entered here.

Entering a service and changing one that is entered take a sign-in no more than a few minutes old — like everything that gives access in the administration (see users → recent sign-in): whoever points a service, or its e-mail domains, at a directory of their own signs in as the accounts it reaches. If the sign-in is older, the surface leads through the sign-in page, returns and opens the dialog again — when editing, with the entry as it is stored; the client secret is entered again, because it is not kept across the detour. Test connection and Delete do not take one.

The redirect URI​

Setting this up is a two-sided handshake, and the redirect URI is the half that has to be carried over by hand. The field is read-only: the address follows from this installation's address and the scheme, and the button beside it copies the result.

That address has to be registered at the foreign service as a redirect URI. If it is missing there or differs, the service refuses the sign-in — and it does so in the very last step, which makes the mistake show up unpleasantly late.

Because the address hangs on the scheme, the scheme is fixed once the entry exists. A different scheme would be a different address, and that one would not be registered over there.

The e-mail domains​

A sign-in through an external service reaches an account here by its e-mail address, and behind that address stands nothing but the foreign service's own statement. Connecting a directory would otherwise hand whoever administers it the ability to assert any address at all — an administrator's here included — and be signed in under it.

So every service names the domains it may speak for. A directory connected for customer.com can say nothing about @noritec.de. The whole domain behind the @ is compared; a subdomain is an entry of its own. Entries are separated by commas, semicolons or blanks, and a leading @ is dropped.

Without a domain the service signs nobody in. A security list has to fall that way: a service entered without this field fails visibly instead of silently covering every address. The list shows such an entry with None in the E-mail domains column.

Testing the connection​

The row action Test connection asks the authority for its OIDC description and reports what came back: the issuer and the authorization endpoint.

That answers whether the address is right and the service is reachable from this installation — the most common mistake when setting one up, and one you would otherwise notice only at the first sign-in attempt.

State and secret in the list​

The State column says whether the button appears on the sign-in page: Enabled or Disabled. The Client Secret column only says whether one is stored — the surface never shows the value again. If it says Missing, nobody gets in through this route; the secret has to be entered again in the edit dialog.

Switching off or removing​

Here too there are two ways, and they differ in what is left behind.

Switching off means turning "Offer on the sign-in page" off in the edit dialog. The button disappears, the entry with all its values stays. That is the right move while the route may yet come back — during a migration at the service, say, or while it is still being worked out who is affected.

Deleting removes the entry. The service disappears from the sign-in page and the values are gone; restoring it later means registering it again with client ID and secret.

Switching off is a change of the entry and therefore takes a recent sign-in, deleting does not. If a route has to close at once — because the foreign service has fallen into the wrong hands, say —, deleting is the way without a detour.

In both cases the same consequence holds: accounts that came in through this route need another one afterwards. What is left for them is a password, a passkey or another external service. So before removing, run the counter-check: do the affected accounts have a password at all? If not, an administrator sets them one under users — otherwise the click on Delete locks out people who did nothing wrong.

The registration at the foreign service is untouched by all of this; it is cleaned up where it was created.

See also​

  • Users — accounts, roles, setting a password
  • Your account — your own ways in and the list of sign-in attempts