Answers for "allauth"

6

allauth

1. pip install django-allauth

2. INSTALLED_APPS = [
      'django.contrib.auth',
      'django.contrib.messages',
      'django.contrib.sites',

      'allauth',
      'allauth.account',
      'allauth.socialaccount',
	]

3.	AUTHENTICATION_BACKENDS = [
      'django.contrib.auth.backends.ModelBackend',
      'allauth.account.auth_backends.AuthenticationBackend',
	]

4. SITE_ID = 1

5. urlpatterns = [
     path('accounts/', include('allauth.urls')),
]
Posted by: Guest on October-22-2020
5

pip install django-allauth

pip install django-allauth
Posted by: Guest on February-07-2020
0

allauth django

SOCIALACCOUNT_PROVIDERS = {
    'google': {
        # For each OAuth based provider, either add a ``SocialApp``
        # (``socialaccount`` app) containing the required client
        # credentials, or list them here:
        'APP': {
            'client_id': '123',
            'secret': '456',
            'key': ''
        }
    }
}
Posted by: Guest on July-15-2021

Code answers related to "allauth"

Python Answers by Framework

Browse Popular Code Answers by Language