libauth/examples/generate-jwt.sh

14 lines
302 B
Bash
Executable File

#!/bin/bash
keypairs sign \
--exp 87660h \
./examples/privkey.ec.jwk.json \
'{
"iss": "https://therootcompany.github.io/libauth/",
"sub": "1",
"email_verified": false,
"email": "jo@example.com"
}' \
> ./examples/jwt.txt \
2> ./examples/jws.json