sub
claim and any arbitrary session ID for the sid
claim.jose
.
jose
’s generateKeyPair
method, specifying the ‘ES256’ algorithm as a parameter.
privateKey
to sign JWTs and the publicKey
to verify JWTs in your tests.
privateKey
using jose
’s SignJWT
class.
jose
’s jwtVerify
method to verify your test JWT against your test publicKey