Go to file
Jimmy Allen fafaab3ae2 Initall commot 2021-02-02 14:32:46 +13:00
LICENSE Initial commit 2021-02-02 01:21:49 +00:00
Pipfile Initall commot 2021-02-02 14:32:46 +13:00
Pipfile.lock Initall commot 2021-02-02 14:32:46 +13:00
README.md Initall commot 2021-02-02 14:32:46 +13:00
server.py Initall commot 2021-02-02 14:32:46 +13:00

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