Gibe / Umbraco.Community.AzureSSO

Azure AD SSO module for Umbraco
MIT License
10 stars 8 forks source link

Bugfix - use 'name' instead of 'GetDisplayName()' #3

Closed tristanjthompson closed 1 year ago

tristanjthompson commented 1 year ago

So it turns out that GetDisplayName() didn't actually get the "name" claim..it tries for "preferred_username" before trying for "name" which, apparently, is populated and set to an email address for me.

Sorry - thought I'd checked that GetDisplayName() was returning what I wanted before submitting the PR!

stevetemple commented 1 year ago

Implemented directly on develop because of conflicts