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!
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!