microsoft auth not working

Skizzme 1 Reputation point

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 ="", params=params, headers={"Content-Type": "application/x-www-form-urlencoded"})
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,626 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Skizzme 1 Reputation point

    nvm i figured it out. params gotta go in the body :\ (same format as in url)