Enhancement: Ability to use the "sub" claim from OpenID for the username
alihacks opened this issue · comments
What features would you like to see added?
Currently, the username field is populated from "username", "given_name" or "email" fields - in that order. I would like to populate this from the "sub" claim. I would like to either support that in code or introduce new environment variable OPENID_USERNAME_CLAIM
or similar to allow the user to configure this
More details
n/a
Which components are impacted by your request?
No response
Pictures
No response
Code of Conduct
- I agree to follow this project's Code of Conduct