requests-oauthlib
requests-oauthlib copied to clipboard
OAuthlib support for Python-Requests!
oauthlib.oauth2.rfc6749.errors.MissingCodeError: (missing_code) Missing code parameter in response
oauthlib.oauth2.rfc6749.errors.MissingCodeError: (missing_code) Missing code parameter in response [more info](https://github.com/requests/requests-oauthlib/issues/308)
Hello, I followed the [Google Oauth2 example](https://requests-oauthlib.readthedocs.io/en/latest/examples/google.html) and I managed to get the authorization code but fetching the token I have the following error: > Traceback (most recent call last):...
A private API I'm working with requires that the request body be sent as a query string in the url. It's possible that others have encountered the same problem. I...
Hi, I am using the same code as mentioned in the [document](https://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#backend-application-flow) but it dose not work ```python oauth = OAuth2Session(client=LegacyApplicationClient(client_id=client_id)) token = oauth.fetch_token(token_url=token_url, username=username, password=password, client_id=client_id, client_secret=client_secret) ``` ```bash...
I think that the "auto-detection" that is being done on `include_client_id` can be better. If no auth header is being passed, and include_client_id is `None`, I think we should pass...
I was using an endpoint with no `client_secret`. I couldn't pass `client_id` to the endpoint as Basic auth unless I provided it as an `auth` kwarg to each request. However...
Not sure if this is a feature or fault. As workaround I use urllib.request.pathname2url to URL encode the path before giving it to oauth2_session.
Hello, I've had no problem connecting to Google APIs following your tutorial with web app credentials https://requests-oauthlib.readthedocs.io/en/latest/examples/google.html However, I don't want to have to authorize everytime through the browser so...
Oauthlib supports tokens revocations but requests-oauthlib does not provide a way to use it. See https://oauthlib.readthedocs.io/en/latest/_modules/oauthlib/oauth2/rfc6749/clients/base.html#Client.prepare_token_revocation_request
Latest OAuthLib says: `DeprecationWarning: Please switch to the public method populate_token_attributes.` It is proposed to obey and switch from `_populate_attributes()` to `populate_token_attributes()` call.