Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,784 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
so currently i am doing a test with the microsoft auth for minecraft, and when i send my request it says "The provided request must include a 'client_id' input parameter."
import requests
params = {
"client_id": "myclientid",
"client_secret": "myclientsecret",
"code": "auth_code",
"grant_type": "authorization_code",
"redirect_uri": "myredirecturi"
}
r = requests.post(url="https://login.live.com/oauth20_token.srf/", params=params, headers={"Content-Type": "application/x-www-form-urlencoded"})
print(r.content)
nvm i figured it out. params gotta go in the body :\ (same format as in url)