Register the JWT plugin when JWT_SECRET is set. Every token must be
HS256, carry exp and iat, be younger than JWT_MAX_AGE seconds
(default 3600), and match JWT_ISSUER / JWT_AUDIENCE when those are
set. Throws on invalid JWT settings, so a misconfigured server does not
start.
Register the JWT plugin when
JWT_SECRETis set. Every token must be HS256, carryexpandiat, be younger thanJWT_MAX_AGEseconds (default 3600), and matchJWT_ISSUER/JWT_AUDIENCEwhen those are set. Throws on invalid JWT settings, so a misconfigured server does not start.