-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provider is not showing up in Django admin and getting ImproperlyConfigured error after setting up django-allauth #3775
Comments
Did you install using |
Please read here: https://docs.allauth.org/en/latest/release-notes/recent.html#backwards-incompatible-changes The |
Thank you for pointing that out!
I've installed the dependencies as per your suggestion, and everything seems to be working perfectly now. Appreciate the help! |
I'm encountering two issues after setting up Django Allauth for authentication in my Django project:
I'm using,
Ubuntu - Ubuntu 20.04.6 LTS (VS Code)
Here are the exact steps I followed to set up django-allauth in my project:
requirements.txt:
I've followed this page of documentation to update my settings.py:
I directly copy pasted github and google config to SOCIALACCOUNT_PROVIDERS temporarily...
http://127.0.0.1:8000/admin/socialaccount/socialapp/add/
As you can see in the provider dropdown, there are no items (such as Github or Google). However, according to this video YouTube (timestamp 7:29), there should be a mention of items there before specifying keys and after running migration command.
For this, it sometimes gives
DoesNotExist at /
orImproperlyConfigured at /
errors, pointing out to<a href="{% provider_login_url 'github' %}" class="login-button">
. If I remove this line, it then points out to<a href="{% provider_login_url 'google' %}" class="login-button">
!Thanks for reading!
The text was updated successfully, but these errors were encountered: