stevenmaguire / oauth2-keycloak

Keycloak Provider for OAuth 2.0 Client
MIT License
204 stars 151 forks source link

Use the preferred_username claim to get the resource owner name #70

Open CSDUMMI opened 1 year ago

CSDUMMI commented 1 year ago

Since the OpenID specification defines this as part of the standard claims and software, like Keycloak, uses the preferred_username claim to hold an account's username.