OIDC auth: Allow the source field of username
to be configurable instead of fixed to sub
#21518
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
Currently in OIDC auth, Gitea get
username
fromsub
field returned from OIDC provider, which is often UUID. This should be configurable, for example to usepreferred_username
instead ofsub
.Screenshots
The text was updated successfully, but these errors were encountered: