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.