OAuth token is missing even though the token was given

This is the code that gets the OAuth

OAUTHHEADERS = {'client_id': CLIENT_ID, 'client_secret': CLIENT_SECRET, 'grant_type': 'client_credentials'}
OAUTHURL = "https://id.twitch.tv/oauth2/token"

def getOauth():
    try:
       req = requests.post(OAUTHURL, OAUTHHEADERS)
       print(req.json())
       jsondata = req.json()
       if 'access_token' in jsondata:
           print(jsondata['access_token'])
    except Exception as e:
         print(e)