Skip to content

wasabina67/flask-google-login

Repository files navigation

flask-google-login

Flask Google login

Setup

Redirect URI

https://localhost:3443/callback

Create .env

cp -p .env.example .env
  • SECRET_KEY
    • Flask secret key
  • CLIENT_ID
    • The client ID for your application registered on the Google Authentication platform
  • CLIENT_SECRET
    • The client secret for your application registered on the Google Authentication platform
  • GOOGLE_OPENID_CONFIGURATION

Run

python src/app.py

Open https://localhost:3443/