requests-oauthlib
requests-oauthlib copied to clipboard
OAuthlib support for Python-Requests!
Hey there, anyone ever got an Error like this: `File "/discord_bot/redbot/cogs/Downloader/lib/twitter/api.py", line 31, in from requests_oauthlib import OAuth1, OAuth2 File "/discord_bot/redbot/cogs/Downloader/lib/requests_oauthlib/__init__.py", line 11, in if requests.__version__ < '2.0.0': TypeError: '
I referred the [doc](https://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#third-recommended-define-automatic-token-refresh-and-update), however I don't see my token getting refreshed automatically and it gives me 401. I don't have any flask server. What am I doing wrong ?...
Hello It seems that with the same credentials Garmin signature and this library's signature is not same as a result i am getting "Invalid Oauth signature" error from Garmin. They...
Hello, I just had a quick question. Are there any plans to provide support for Amazon Cognito? They have an "oddity" with how they accept the client ID & secret...
This is my code: ``` from requests import post from requests_oauthlib import OAuth1 from oauthlib.oauth1 import SIGNATURE_RSA oauthHeader = OAuth1( _CONSUMER_KEY, signature_type="auth_header", signature_method=SIGNATURE_RSA, rsa_key=_PRIVATE_KEY, ) r = post(f"{_HOST}/{_TOKEN_PATH}/request-token", auth=oauthHeader) ```...
Hello Devs, I am implementing Google Sign in flow with PKCE. using this library and following Google's documentation for authorization code flow with PKCE (https://developers.google.com/identity/protocols/OAuth2InstalledApp#step1-code-verifier) and my current code looks...
libs: ``` oauthlib 3.1.0 requests-oauthlib 1.3.0 ``` The following code didn't work as the server replied that scope param was missing: ``` from oauthlib.oauth2 import BackendApplicationClient from requests_oauthlib import OAuth2Session...
With callback url there can be additional parameters such as `next` as well as the `oauth_token` and `oauth_verificer`, and there can be unquoted strings in it. For example, my callback...
Are there any plans to add type annotations or stub files form mypy? I see that you still want to support Python 2. I guess stub files would be the...
The [Web App Example of OAuth 2 web application flow](https://requests-oauthlib.readthedocs.io/en/latest/examples/real_world_example.html#real-example) included in the documentation uses a [Flask session](https://flask.palletsprojects.com/en/1.1.x/api/#sessions) to store the OAuth2Session state and access token. Since the Flask sessions...