Azure – How get access token for another resource using Microsoft OAuth
The user logs in with https://login.live.com/oauth20_authorize.srf Parameters: client_id=<CLIENT_ID> response_type=code scope=XboxLive.signin offline_access redirect_uri=<REDIRECT_URL> And gets an authorization_code M.R3_BAY.5530f5eb... When using: https://login.live.com/oauth20_token.srf grant_type=authorization_code client_id=<CLIENT_ID> scope=Xboxlive.signin Xboxlive.offline_access code=M.R3_BAY.5530f5eb... redirect_uri=https://localhost/oauth_success client_secret=<CLIENT_SECRET> Getting access_token and refresh_token. I want to use one of these tokens to…