Skip to content

roy-pstr/simple-auth0-fastapi-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Auth0 FastAPI React Application

A simple application for user authentication & authorization (JWT based) and user management based on Auth0 service. Backend is in Python with FastAPI, integrated with auth0 client. Frontend is vanilla react application contains simple login, signup form, and google account login.
This repo is for a quick start with Auth0.

Application Features

Client-side

  • Login (username and password)
  • Signup (username and password)
  • Google account login

Client side

Server-side

  • JWT verification
  • Private endpoint example (must have access token to get access)
  • Scoped-private endpoint example (must have access token and permissions to get access)

Server side

Services Setup

Backend

Go to services/backend/README.md

Frontend

Go to services/frontend/README.md

Auth0

Go to services/auth0/README.md

Open Tasks

  • A script for auto create Auth0 environment given Auth0 Management credentials only

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT