Found this content helpful? Log in or sign up to leave a like!
Using Microsoft authentication provider and an MSA/consumer account, I am not seeing a name claim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to use the "microsoft" authentication provider in Canvas and am having trouble with attribute mapping. When I log in using an MSA/consumer account (e.g., an outlook.com account) rather than an org-owned Entra account, even though "name" is an option in the Provider Attribute drop-down and I have it configured to send to Canvas display_name, I still end up with another value (I believe the oid value) in the Display Name as viewed in user settings in Canvas.
When I use debugging on the authentication screen for that provider and test an MSA login, the Claims provided are (removing the values for confidentiality):
"ver"
"iss"
"sub"
"aud"
"preferred_username"
"oid"
"email"
"tid"
"xms_pl"
"nonce"
"aio"
So there is no "name" claim seen be debugging.
Any idea why name is missing as a claim?
thanks!
Martin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In this case, the problem was that there was no name defined within the MSA account setup (on the Microsoft side). Once I added that the name claim was present and was handled correctly.