Example of generate and verify tokens for talk
Generate private key
openssl genrsa -out ./keys/privkey.pem 3072
Public key from private key
openssl rsa -in ./keys/privkey.pem -pubout -out ./keys/privkey.pub
npm run generate-jwks
npm run generate-jwt
npm run serve
curl -X GET \
http://localhost:3000/me \
-H 'Authorization: <token>'
You will obtain the content of token.