Closed24

next-authのjwt周り

terrierscriptterrierscript

https://next-auth.js.org/configuration/options#secret

The default behaviour is volatile, and it is strongly recommended you explicitly specify a value to avoid invalidating end user sessions when configuration changes are deployed.

terrierscriptterrierscript

options.secretに明示指定してdecodeすると解消する。
jwt.secretの値だけセットしても利用されない?

このスクラップは2021/02/12にクローズされました