[low] OIDC: email_verified trusted for the mail fallback; raw email in logs; OIDC ignores REGISTRATION_ENABLED #42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Found by Nye reviewing PR #37 (#11). Non-blocking, low.
handle_successful_authfalls back touser_info["mail"]when the"email"claim is missing, butemail_verifiedonly vouches for the"email"claim. InAccounts.find_or_create_oidc_user's linking path, only trustemail_verifiedwhen the email came from"email"(e.g. passemail_verified: nilwhen themailfallback was used).:email_takenwarning logs the raw email address (PII, same family as #15).registration_enabled?. Fine if the IdP is the gate; decide whetherREGISTRATION_ENABLED=falseshould also stop new OIDC users, or note it in the release notes.