{% extends "admin/layout.html" %} {% block admin %}

Identity providers ({{ providers.len() }})

{% if providers_managed_here %}Add a provider{% endif %}
{% if !providers_managed_here %}

Identity providers are set up here in the users mode only. In this mode the identity provider in front of this site, or the one this instance was started with, signs people in.

{% else %}

Let people sign in with an identity provider they already have, beside this site's own passwords: any number of OpenID Connect providers (Entra ID, Okta, Keycloak, Auth0, Google…) or GitHub, each with a button of its own on the sign-in page. People who sign in this way appear under People at their first sign-in, without a password and at the bottom of the ladder: on every request they hold the higher of the role set there and the role their groups map to (those in no mapped group get the provider's role of everyone else), so a group taken away at the provider takes its role away here. A name belongs to exactly one way in: a provider never signs in a password person's name, nor a name another provider brought.

{% if !can_seal %}

Without OKF_WEB_SESSION_SECRET this site cannot keep a client secret (and every session ends when it restarts). Set it to use confidential clients; a public client works without one, though some providers (GitHub, Google, Entra ID's web registrations) insist on a secret.

{% endif %} {% if providers.is_empty() %}

No identity provider is set up; people sign in with their passwords.

{% else %}
{% for p in providers %} {% endfor %}
ProviderSpeaksIssuerStateLast changeActions
{{ p.name }}{{ p.id }} {{ p.kind }} {{ p.issuer }} {% if let Some(why) = p.trouble %}unusable here{% else if p.enabled %}on{% else %}off{% endif %} {% if p.has_secret %}confidential{% else %}public{% endif %} {{ p.updated_at|datetime }}by {{ p.updated_by }} Edit
{% endif %} {% endif %}
{% endblock %}