Edit history

Earlier versions of [OIDC] Auto-provision usernames from 'preferred_username' claim instead of 'name', newest first.

Current version | Edited by Rex
Changes
Change the auto-provisioned username to use the 'preferred_username' OIDC claim instead of 'name' for uniformity and set the Display Name in fluxer to use the 'name' claim instead, which is much easier to change.Removed: ### NotesRemoved: Removed: _No response_Removed: Removed: ### ChecksRemoved: Removed: - ☑ I searched existing discussions.Removed:
Show

[OIDC] Auto-provision usernames from 'preferred_username' claim instead of 'name'

Problem

When a user is auto-provisioned via SSO their username is set to the 'name' claim resulting in usernames like 'John_Smith' instead of the more predominantly used 'preferred_username' like 'jsmith123' or 'bigbadjohn'. Users are able to change their username given they then set up a password within fluxer which is cumbersome and slightly defeats the seamlessness of auto-provisioned SSO login.

Proposal

Change the auto-provisioned username to use the 'preferred_username' OIDC claim instead of 'name' for uniformity and set the Display Name in fluxer to use the 'name' claim instead, which is much easier to change.
Original by Rex
Show

[OIDC] Auto-provision usernames from 'preferred_username' claim instead of 'name'

Problem

When a user is auto-provisioned via SSO their username is set to the 'name' claim resulting in usernames like 'John_Smith' instead of the more predominantly used 'preferred_username' like 'jsmith123' or 'bigbadjohn'. Users are able to change their username given they then set up a password within fluxer which is cumbersome and slightly defeats the seamlessness of auto-provisioned SSO login.

Proposal

Change the auto-provisioned username to use the 'preferred_username' OIDC claim instead of 'name' for uniformity and set the Display Name in fluxer to use the 'name' claim instead, which is much easier to change.

Notes

No response

Checks

  • ☑ I searched existing discussions.