requests / requests-oauthlib

OAuthlib support for Python-Requests!
https://requests-oauthlib.readthedocs.org/
ISC License
1.72k stars 424 forks source link

Can't change method to 'client_secret_post" for authorization method. #488

Open Bcubrich opened 2 years ago

Bcubrich commented 2 years ago

According to this you can use the following ot change from 'client_secret_basic' to 'client_secret_post' in v1.0.0. How can this be done in the current release, if at all? I looked at the args in Oauth2Session function and did not see any option for that.

client = OAuth2Session(token_endpoint_auth_method='client_secret_post')