Skip to main content
Version: Next

OpenID Connect

OpenID Connect is a OAuth2 extension support by most identity providers.

Configure OpenID Connect

To configure OIDC, you must set the following environment variables:

VariableUsage
OIDC_CLIENT_IDClient ID from your identity provider.
OIDC_CLIENT_SECRETClient secret from your identity provider.
OIDC_ADMIN_GROUPGrant admin to users with this group configured in your identity provider. Tested with Authentik.
DISABLE_SIMPLE_AUTH (optional)Disable simple auth

And then, you must configure either:

OIDC_WELLKNOWN: A unprotected endpoint that returns a OIDC well-known JSON. Fetched on startup.


Individual endpoints:

VariableUsage
OIDC_AUTHORIZATIONAuthorization endpoint. Usually ends with authorize.
OIDC_TOKENToken endpoint. Usually ends with token.
OIDC_USERINFOUserinfo endpoint. Usually ends with userinfo.
OIDC_SCOPESComma separated list of scopes. Requires, at least, openid and email.