requests-oauthlib
requests-oauthlib copied to clipboard
OAuthlib support for Python-Requests!
Hello, This is a [pull request](https://github.com/requests/requests-oauthlib/pull/394/commits/1224b580b1791511af6b56c489a34054ca049306) based on the changes made by @denizdogan but which finally never got merged due to missing tests. Here is the original explaination: ``` This...
I am facing this issue in server and tried the following fixes also. **Error**: (insecure_transport) OAuth 2 MUST utilize https. I wanted to use Slack with Django rest framework. Python...
I am attempting to use the BackendClient workflow for creating a OATH V2.0 connection. Using the requests_oauthlib package. Documentation is at: https://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#backend-application-flow The code works fine in PowerShell, but the...
It was redundant. There is no reason why any code that must react to the exception couldn't just use token_updater. See also #510 .
https://github.com/requests/requests-oauthlib/blob/3a2a852e33c691c7e793300ce366a01b6e4b3848/requests_oauthlib/oauth2_session.py#L541 Seriously, why can't we just redo the request? That's what everybody's going to be doing anyway. Every project using this code is just going to write ``` result =...
Hello, I've encountered an issue when integrating with Mailchimp, as it turns out mailchimp tokens never expire. A compliance fix is available [here](https://github.com/requests/requests-oauthlib/blob/master/requests_oauthlib/compliance_fixes/mailchimp.py). It is an `access_token_response` hook, where the...
I'm trying to set up OAuth2 for unattended access to Microsoft IMAP servers - the `refresh_token` is important here. When providing a request scope set as follows: - `offline_access` -...
I have a use case were sometimes my stored users' tokens expire and thus they need to reauthenticate into whatever app I'm trying to request data from. In these cases...
**The crux of my question below is:** Am I correct that there is currently no way to use the `refresh_token_request` to send a JSON payload to the token request endpoint?...
This PR is a derivative of another #532 This PR addresses the same issue but aims to demonstrate a broader perspective on implementation. While the original PR highlighted a significant...