You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jimmy Allen fafaab3ae2
Initall commot
2 years ago
LICENSE Initial commit 2 years ago
Pipfile Initall commot 2 years ago
Pipfile.lock Initall commot 2 years ago
README.md Initall commot 2 years ago
server.py Initall commot 2 years ago

README.md

Python Aiohttp JWT middleware

Install

pip3 install pipenv

pipenv install

Generate Keys

openssl genrsa -out key 3072

openssl rsa -in key -pubout -out key.pub

Run

pipenv run server

Test

curl -H 'Authorization: Bearer <token>' http://0.0.0.0:8080