Xbox authentication
See original GitHub issueConfirm you’ve already contributed to this project or that you sponsor it
- I confirm I’m a sponsor or a contributor
Version
4.x
Describe the bug
When trying to use the XboxLive.profile
scope I’m getting the following error:
{
"error": "invalid_scope",
"error_description": "The provided value for the input parameter 'scope' is not valid. The scope 'openid XboxLive.profile' does not exist.",
"state": "4MR0QXicSbQ5H9-O_KLePIl8urKpnrAkR4utt4O04SA"
}
Since openid
is prepended to the scope name, it looks like there is a formatting issue.
To reproduce
options.UseWebProviders().UseMicrosoft(microsoft =>
{
microsoft.SetClientId(microsoftClientId)
.SetClientSecret(microsoftClientSecret)
.SetRedirectUri("connect/callback-microsoft")
.Configure(microsoft => microsoft.Scopes.Add("XboxLive.profile"));
});
Exceptions (if any)
No response
Issue Analytics
- State:
- Created 5 months ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
Connection Issues: “Additional authentication needed”
I turned on my XBOX ONE console today and found I wasn't connected to XBOX Live. I went into my network settings and...
Read more >"Additional Authentication Needed" error on Xbox One ...
The “Additional authentication required” error on your Xbox One may appear if someone has previously blacklisted the console on your router.
Read more >Account authentication and access overview
Describes how to authenticate and access accounts, use the Xbox Authentication Library, and use XUser API contents.
Read more >Additional Authentication Needed on Xbox
In this troubleshooting guide, we have presented the possible solutions to fix the Additional Authentication Needed error on Xbox console.
Read more >Additional authentication needed glitch : r/XboxSupport
My Xbox won't connect to my internet and says “additional authentication needed” it's been doing this for 3 days I don't know what...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s an example of a handler that resolves the userinfo claims from a different place (here, from custom parameters returned as part of the token response, instead of a dedicated endpoint):
https://github.com/openiddict/openiddict-core/blob/c2f12183cde4b46475d56e94ffa374b42e040f45/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs#L583-L677
That said, I’d personally opt for a different approach by doing the Xbox profile resolution directly in your /callback/login/microsoft callback MVC action.
Thanks! Could you give me some pointers to make my own userinfo handler for when a xbox scope is specified 🙏