Skip to content

Shugaba-Wuta/tutorial-fastapi-oauth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI and Google Login (OAuth)

This is an example following the tutorials:

Requirements:

  • Python3.6+

How to run the example:

  • Create a virtualenv python3 -m venv .venv
  • Activate the virtualenv . .venv/bin/activate
  • Install the requirements pip install -r requirements.txt
  • Set up the env vars:
    • export GOOGLE_CLIENT_ID=...
    • export GOOGLE_CLIENT_SECRET=...
    • export SECRET_KEY=...
    • export API_SECRET_KEY=...
  • Run the app:
    • Guide 1: python run.py
    • Guide 2 and 3: python main.py

About

Use Google Login (OAuth) with FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%