Repository navigation
feat(auth): add single sign-on with OpenID Connect - #25
Merged
Merged
Conversation
Optional OIDC sign-in (Authentication:Oidc, off by default) using the authorization code flow with PKCE. Existing users are linked by verified e-mail; accounts can optionally be created on first sign-in (Registered role only); provider groups can add roles (add-only). SSO-only mode keeps password sign-in for system administrators at /Login?local=1. Linked sign-ins are listed in My profile and on the admin user page. Adds the UserExternalLogin table (migration AddUserExternalLogin), locale keys, docs/sso.md and Docker SSO_* settings. Closes #11
|
This was referenced Nov 12, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Closes #11.
Adds optional single sign-on with any OpenID Connect provider (Keycloak, Authentik, Entra ID, Google, Okta…). Off by default; configured via
Authentication:Oidc/SSO_*in Docker. Setup guide: docs/sso.md./Login?local=1.Upgrade: one additive migration (
AddUserExternalLogin, new table) and new translations; the Docker migrate container applies both. Manual installs: run migrations (or01_schema.sql) and03_locale.sql.Tests: unit tests for settings validation, claim reading, the sign-in rules, role mapping and error codes, plus an end-to-end run against a local OIDC test provider (code + PKCE + RS256).