is there a scope that can be used in oauth 2 for getting minecraft username etc ?

ScotsmanDev 0 Reputation points
2023-07-10T01:41:12.21+00:00

currently scopes like xboxlive.signin, profile etc return names and email, but im looking for a scope that will retrieve minecraft profile names, uuid or similar if possible ?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Authenticator
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2023-07-10T05:36:06.6833333+00:00

    Hi @ScotsmanDev ,

    Thanks for reaching out.

    There is a step-to-step guide to follow to get the Minecraft profile. In any case, you need to call xboxlive.sign in scope to get the access token which can be used further to get XBox Service security token (XSTS token) to authenticate with Minecraft and get the profile.

    https://wiki.vg/Microsoft_Authentication_Scheme

    Hope this will help.

    Thanks,

    Shweta


    Please remember to "Accept Answer" if answer helped you.


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.