Skip to content

Which claim becomes the web2project username for SSO users? #446

Open

Description

@caseysoftware

OIDC offers preferred_username, email and (on Entra ID) upn; SAML has the NameID and attributes. The username is what people see and what the password form uses; the stable link is the provider's subject in user_identities, so the choice is about readability and collisions, not identity.

Proposed: configurable per provider, defaulting to preferred_username and falling back to the local part of the email, normalized to an allow-list with collisions numbered (jsmith, jsmith2).

Decision needed before: Phase 1.

Open question from the Identity Layer proposal (#435), section 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions