docs
This commit is contained in:
@@ -2,12 +2,8 @@
|
||||
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.
|
||||
## cognito_test
|
||||
This is the harness to demonstrate running all of the cognito auth and RBAC in a simple standalone
|
||||
main.go. This is standalong documentation for the library contained in `internal/cognitoauth`.
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user