Migrate OIDC to ash_authentication identity_resource closes #557 #573
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
security
technical improvement
UX Improvement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
local-it/mitgliederverwaltung!573
Loading…
Reference in a new issue
No description provided.
Delete branch "issue/mitgliederverwaltung-557"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of the implemented changes
The changes were:
Migrate OIDC to ash_authentication identity_resource (UserIdentity) and unpin to 4.15+. A disclosure of 18 advisories in
ash_authentication/ash_authentication_phoenixmade the 4.13 pin a security problem; 4.15 requires OIDC sign-ins to resolve through a user identity resource, so SSO links move fromusers.oidc_idintouser_identitieswhile existing members keep signing in to the same account.What has been changed?
Definition of Done
Code Quality
Accessibility
Testing
Additional Notes
users.oidc_idvalues, which assumes Authentik keeps sending the samesub(provider "subject mode" unchanged). The first boot after the migration only records the OIDC base URL and clears nothing; later changes of the base URL (settings orOIDC_BASE_URL) clear all SSO links, and every member links once again. If that check fails at boot, the application refuses to start.emailclaim is used as the provider email; a sign-in without it no longer creates or links an account (Authentik and Rauthy send it).docs/oidc-account-linking.md): passwordless, not-yet-linked accounts are auto-linked by matching provider email;trust_email_verified? trueis set only because 4.15 refusesfalsewithout a confirmation add-on.