No project description provided
Project description
django-graphql-google-accounts
fk django.contrib.auth is create 3 tables. and django allauth is create 7 tables.
but we need only google accounts and we will only use graphql token authentication.
Installation
pip install django-graphql-google-accounts
Setup
configure base settings
without django.contrib.auth
and add this app
# settings.py
INSTALLED_APPS = [
# django.contrib.auth
...
'accounts',
]
configure urls
# urls.py
from accounts.views import GoogleLoginView, GoogleCallbackView
urlpatterns = [
# ...
path('login', GoogleLoginView.as_view()),
path('auth/google/callback', GoogleCallbackView.as_view()),
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for django_graphql_google_accounts-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d578597e88d663c0b7fed8d551a1b5be51af5269cb9fff88846d94a2340c4f83 |
|
MD5 | e27e8ce9d88f080c9f1f0f4e7a32a777 |
|
BLAKE2b-256 | f9c6a5aecde8ac7302be5ea339e9b4f0d35f74a2e1ec7111ee1b5799454780d5 |