Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Python-Flask-Google-Auth

Using Google Authentication with a Python/Flask Application

Setup

Go through the tutorial on Codementor and set up your credentials, then follow the following steps

  • Clone the repository
git clone https://github.com/andela-oowonikoko/Python-Flask-Google-Auth.git
  • Create a virtual environment for the application. For more information, visit here

  • Install the required modules

pip install -r requirements.txt
  • Create a .env file in the root directory and add the following credentials:
GOOGLE_CLIENT_ID = 'YOUR GOOGLE CLIENT ID'
GOOGLE_CLIENT_SECRET = 'YOUR GOOGLE CLIENT SECRET'
SECRET_KEY = 'YOUR SECRET KEY'
  • Run the application
python run.py

About

Using Google Authentication with a Python/Flask Application

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages