Skip to content

kipparker/fastapi-auth0

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fast API with Auth0

A very simple example of using Auth0 with FastAPI

Running locally

Copy .env.template to a .env and replace the values with the values from the Auth0 API you have created. Then:

pipenv install --dev
pipenv run uvicorn main:app --reload --debug

To make a test request (with the local server running):

pipenv run python client.py

About

Barebones example of authenticating FastAPI endpoints with Auth0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages