Here is the code:
"https://login.live.com/oauth20_authorize.srf?client_id=" +
process.env.MIX_LIVE_CLIENT_ID +
"&scope=service::user.auth.xboxlive.com::MBI_SSL&response_type=code&redirect_uri=" +
process.env.MIX_LIVE_REDIRECT_URL +
"&state=ClientStateGoesHere"
This is the scope I have created in the microsoft azure account.
scope=service::user.auth.xboxlive.com::MBI_SSL
But I am getting below error when open the page for login using xbox.