git clone https://github.com/ololadeakin/oauth.git
cd oauth
pip3 install -r requirements.txtCreate a .env file:
AUTH0_CLIENT_ID=your_client_id
AUTH0_CLIENT_SECRET=your_secret
AUTH0_DOMAIN=your-tenant.auth0.com
APP_SECRET_KEY=your_random_secret_key
python3 server.pyhttp://127.0.0.1:3000 - Home
http://127.0.0.1:3000/protected - Protected Page
How to integrate Auth0 with Flask
How to protect routes using session-based authentication