This is a sample repository illustrating How to add Google OAuth in Django
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead, 4 commits behind mohi7solanki:master.
fosstack
fosstack Update README.md
Latest commit 38a366f Nov 7, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
django_auth Initial commit Nov 7, 2017
templates Initial commit Nov 7, 2017
.gitignore
README.md Update README.md Nov 7, 2017
manage.py Initial commit Nov 7, 2017
requirements.txt

README.md

Installation guide

Complete guide at - https://fosstack.com/how-to-add-google-authentication-in-django/

  1. Clone repository git clone https://github.com/fosstack/Google-OAuth-Demo.git
  2. cd (change directory) to repository.
  3. Create a virtualenv virtualenv -p python3 .
  4. Activate virtualenv source bin/activate
  5. Install required packages pip3 install -r requirements.txt
  6. Make migration python manage.py migrate
  7. Run the server python manage.py runserver

Note : Make Sure to add Google client ID and secret key in settings.py !