Add JWT secret to next-auth.js (#730)
This commit is contained in:
1 parent
82e7e51fca
commit
bb3362f2ef
2 files changed
+5
No files matched your search
@@ -10,6 +10,9 @@ export default NextAuth({
|
||||
session: {
|
||||
jwt: true,
|
||||
},
|
||||
jwt: {
|
||||
secret: process.env.JWT_SECRET,
|
||||
},
|
||||
pages: {
|
||||
signIn: "/auth/login",
|
||||
signOut: "/auth/logout",
|
||||
|
||||
Reference in new issue
Block a user