diff --git a/docs/docs/errors.md b/docs/docs/errors.md index d5f3d40ca4..f23d10099a 100644 --- a/docs/docs/errors.md +++ b/docs/docs/errors.md @@ -136,6 +136,8 @@ The `callbackUrl` provided was either invalid or not defined. See [specifying a #### JWT_SESSION_ERROR +JWEDecryptionFailed: NextAuth.js needs `NEXTAUTH_SECRET` environment variable to encrypt JWTs and to hash email verification tokens. This can also occur if you have changed the `NEXTAUTH_SECRET`, but you still had an active session with the old secret. Logging in again solves the issue. + JWTKeySupport: the key does not support HS512 verify algorithm The algorithm used for generating your key isn't listed as supported. You can generate a HS512 key using