Authentication and Authorization system using JWT in Python.
Clone the project
git clone https://github.com/Vibhav0/Auth.git
Go to the project directory
cd Auth
Install dependencies
pip install -r requirements.txt
Start the server
uvicorn main:app --reload
GET /me/
Parameter | Type | Description |
---|---|---|
token |
str(session_cookie) |
Required. To edit details |
To run this project, you will need to add the following environment variables to your .env file
SECRET_KEY
ALGORITHM
To generate a secure random secret key use the command:
openssl rand -hex 32
ALGORITHM
=HS256
If you have any feedback, please reach out to me at [email protected]