Cognito sandbox code
All cognito related research code here. Not suitable for production. Only for confirming things work before placing them in the library.
Jwtstuff
Contains just code for low level jwt operations.
Generate the private and public keys then run go run main.go to execute the jwtstuff code.
running main will print out the token which you can decode with https://fusionauth.io/dev-tools/jwt-decoder manually.
Generation of test private and public key for testing
openssl genpkey -algorithm RSA -out private_key.pem openssl rsa -pubout -in private_key.pem -out public_key.pem