{unJwt = "eyJhbGciOiJIUzI1NiJ9.bXkgSlNPTiBtZXNzYWdl.lTJx7ECLwYF3P7WbrrUpcp_2SdLiFXaDwK-PXcipt5Q"}) > hmacDecode "aRANDOMlygeneratedkey" "eyJhbGciOiJIUzI1NiJ9.bXkgSlNPTiBtZXNzYWdl.lTJx7ECLwYF3P7WbrrUpcp_2SdLiFXaD
JWT Signing Sign with a private or symmetric key with plethora of convenience options. See thedocumentationfor more. jose.JWT.sign({'urn:example:claim':'foo'},privateKey,{algorithm:'PS256',audience:'urn:example:client_id',expiresIn:'1 hour',header:{typ:'JWT'},issuer:'https://op.example...
jose.JWT.sign( { 'urn:example:claim': 'foo' }, privateKey, { algorithm: 'PS256', audience: 'urn:example:client_id', expiresIn: '1 hour', header: { typ: 'JWT' }, issuer: 'https://op.example.com' } )JWT VerifyingVerify with a public or symmetric key with plethora of ...