DanielChuDC / auth-es256-fastapi

Build simple authentication API using FAST API with ES256 encryption in 10 mins

Home Page:https://dc1888.medium.com/build-simple-authentication-api-using-fast-api-with-es256-encryption-in-10-mins-f8c0113937a

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisite

  • Make sure you have python 3 installed in your workstation.

Getting Started

  1. Rename the .env-example to .env

  2. Install the dependency by

pip install -r requirements.txt
  1. Run the project by
uvicorn main:app --reload

Warning! Please remember to change your JWK key set for your own project.

About

Build simple authentication API using FAST API with ES256 encryption in 10 mins

https://dc1888.medium.com/build-simple-authentication-api-using-fast-api-with-es256-encryption-in-10-mins-f8c0113937a

License:MIT License


Languages

Language:Python 94.8%Language:Dockerfile 5.2%