Replies: 1 comment
-
I have tested using the allauth regular-django example and the consent screen still shows as described above. This is could be related to the fact that my Google App status is "testing" not "published." |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Thank you for your work!
I am using Django templates for the frontend. However, whenever I try to log out and log in back again, the consent screen shows again. The following is my urls.py file
path('accounts/logout/', logout, name="account_logout"), path('accounts/google/login/', oauth2_login, name="google_login"), path('accounts/google/login/callback/', oauth2_callback, name="google_callback"),
The following is in the template if user.is_authenticated == False:
<form action="{% provider_login_url 'google' process="login" next=request.path %}" method="post"> {% csrf_token %} <button class="btn" type="submit"> Sign In with Google </button> </form>
Why does the Google consent screen show every time I log in? How to solve this using Django templates? Does headless work in my use case?
I would really appreciate guidance here as the docs are not clear about this
Beta Was this translation helpful? Give feedback.
All reactions