Skip to content

Conversation

@sneko
Copy link

@sneko sneko commented Jul 21, 2025

Hi,

Using ClientCredentials() as stated previously in the documentation is working in your sandbox environment but not in production. After debugging the HTTP query made, it seems the default usage of simple-oauth2 is passing credentials as encoded through the header, whereas only x-www-form-urlencoded is expected on your production environment (got 401 error all the time).

I didn't test this for the AuthorizationCode() client, but maybe it should be reviewed too.

Hope it helps,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant