Getting A User's Profile From Microsoft's Xbox Api

Muhammed Ogunsanya 11 Reputation points
2021-09-28T15:25:35.593+00:00

I am currently trying to authenticate users in my application by using their Microsoft Xbox's credentials. After following this https://github.com/OpenXbox/xbox-webapi-python/blob/master/xbox/webapi/authentication/manager.py, I've been able to request for an access_token after getting an authorization code from the user. Its not clear to me what Microsoft wants me to do with this access_token

The thing is, I need the users profile data and I'm kind of stuck on what to do next due to lack of info in the documentation. I know I'm supposed to use the access token to retrieve information from the users profile but I'm yet to come across an example that shows someone a practical example how to a request for users profile.

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,646 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.