Why is the extension method ClaimsPrincipalExtensions.GetDisplayName returns claim preferred_username first #1650
Unanswered
mgrosperrin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Do you know why the extension method
ClaimsPrincipalExtensions.GetDisplayNamein the projectMicrosoft.Identity.Web.TokenCachereturns the value of the claimpreferred_usernamefirst and not the claimhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameorname?It is a little disturbing to have the login of the user as display name...
Thanks for your insights😄
Beta Was this translation helpful? Give feedback.
All reactions