Configure JSON Web Tokens to your needs
HS256
, you can also use HS384
and HS512
for extra security. To quickly generate a key, you can use the following command:
RS256
, you can also use RS384
and RS512
for extra security. To quickly generate a key pair, you can use the following commands:
jwt_private.pem
into the signingKey
field and the contents of jwt_public.pem
into the key
field.
The kid
value in your configuration can be any unique string of your choice and must be distinct for each key. It is used to identify the correct key when verifying JWTs through the JWKS endpoint.
https://<subdomain>.auth.<region>.nhost.run/v1/.well-known/jwks.json
. For instance: