-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use user.FullName in Oauth2 id_token response #32542
Conversation
But FullName maybe empty |
Then I guess the |
Oh wtf, there's |
bd16728
to
a457312
Compare
I think both needs to be changed to use |
a457312
to
b599a5c
Compare
Thank you for the PR! It seems that DisplayName/GetDisplayName/FullName these names are too ambiguous .... I will try to make some improvements in this PR together to make them easier for contributors to understand |
This makes `/login/oauth/authorize` behave the same way as the `/login/oauth/userinfo` endpoint.
b599a5c
to
bc6cce9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe these function names could be refactored later, too complex ......
This makes
/login/oauth/authorize
behave the same way as the/login/oauth/userinfo
endpoint.