400 Bad request with Xbox Live authentication API
I am attempted to provide a login via Minecraft for my website however keep running into the same error with the Xbox Live API. I first am request an access token from https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize
which works fine and returns a code in the query parameters.