This is a sample application showing integration with FusionAuth and OAuth/OIDC.
This is based on the 5 minute setup guide but using python3 instead of JavaScript.
- FusionAuth
- python3
- pip3
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
- Create an application in FusionAuth
- Set the redirect url to
http://localhost:5000/oauth-callback
- Note the client id and client secret
- Register a user for this application
- Set the redirect url to
- Create an API key in FusionAuth. (Optional, only if you want to use the client for API operations.)
- Update
app/views.py
with the values gathered above (look for the#UPDATE ME
section)
python3 run.py
Visit http://localhost:5000
- Nishant Trivedi/nishant009 did the initial implementation.