demo-oauth-client
demo-oauth-client copied to clipboard
Demo for Flask, Django, and Starlette OAuth clients with Authlib>=v0.13
Hello, I am using the starlette Google login demo, slightly modified for my use case, and I notice that when I use the logout function it doesn't properly clear the...
Google's OAtuh 2.0 policy states that the redirect uri be /auth. Although this is implemented in the app.py, it needs to be updated in the Readme file.
Is there a way to refresh token using starlette integration?
Django refresh token update_token doesn't refresh the token; example doesn't have auto refresh token implemented. Any suggestion to get it working.
I've made the example work by changing at https://github.com/authlib/demo-oauth-client/blob/master/django-google-login/project/views.py#L31 user = oauth.google.parse_id_token(request, token) to user = oauth.google.parse_id_token(token, None)
Using authlib 1.0.0rc1 and running the demo code. I am running into an the issue where the id_token is in the response, but is not being parsed. I suspect this...
- Use of Authlib to connect to Facebook, Google, Twitter. - Thanks to @nelsonher019 for the facebook reference. - Remove the virtual environment as mentioned in the previous pull request.
Running the master branch code (and alpha v1 releases) I'm running into an issue where [this line](https://github.com/lepture/authlib/blob/master/authlib/integrations/base_client/async_openid.py#L59) causes the following error: ```python Traceback (most recent call last): File "/Users/sondrelg/Documents/demo-oauth-client/fastapi-google-login/venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line...
I try to use this demo on Azure, but some things wrong when I access `oauth.azure.authorize_access_token()`. It shows that the request dosen't contain the **client_secret** Does anyone meet the same...
I am trying this demo code but I am getting the error bad request 400 KeyError: code.any idea?