Closed baltitenger closed 1 week ago
But FullName maybe empty
Then I guess the userinfo
handler should be changed to work the same way, or both changed to use FullName
with a fallback to Name
Oh wtf, there's DisplayName
and GetDisplayName
... Would using DisplayName
in both places be fine?
I think both needs to be changed to use DisplayName
, because it implemented a fallback if Fullname is empty.
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.