Relative Content

Tag Archive for next.jsjwtnext-auth

How do I change the sigin algorithm of JWT token on auth JS

I found this info from the documentation: The JWT issued by Auth.js is encrypted by default, using the A256CBC-HS512 algorithm (JWE). It uses the AUTH_SECRET environment variable or the passed secret propery to derive a suitable encryption key.