Hi @DominicDocimo could you please try clearing the cache and cookies?
Also noticed that the trial period for your account expired in August, so we have added some extra days
The issue might be due to a mismatch between the redirect URL specified in the config and the one set in the OAuth application in the browser. Could you please check this one also?
Sorry, I have one more question that I can’t seem to figure out. I am able to receive the code, but when I attempt to do a POST request for the access token I’m met with an odd error:
{‘error’: ‘unsupported_grant_type’,
‘error_description’: 'The authorization grant type is not supported by the ’
‘authorization server.’,
‘hint’: ‘Check that all required parameters have been provided’,
‘message’: 'The authorization grant type is not supported by the ’
‘authorization server.’}
My request:
auth = requests.post(url=“https://accounts.crowdin.com/oauth/token”,
headers={“content-type”: “application/json”},
params={
“grant_type”: “authorization_code”,
“client_id”: insert_client_id_here,
“client_secret”: insert_client_secret_here,
“redirect_uri”: insert_url_here,
“code”: insert_code_here
})
I’m a little confused as I believe I have all of the headers and params according to the documentation.
In the code you provided, the params parameter is used to send data as part of the request’s query parameters, not as the request body. This is because you are using the requests.post method, which typically sends data in the request body for methods like POST.