FastAPI Single Sign On example with various providers and minimal home page that presents counters for users from each provider
- Create a python virtual environment:
python3.11 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install dependencies:
python3.11 -m pip install -r requirements.txt
- While in activated virtual environment, run with:
python3.11 main.py
Use the swagger documentation at localhost:9999/v1/documentation
, example:
- Visit the user interface in the browser at:
localhost:9999
- Use form to sign-in with local users
- Use sign-in buttons to sign-in via a provider