Add trustHost for next auth
This commit is contained in:
@@ -42,7 +42,8 @@ export const { handlers, auth } = NextAuth({
|
||||
})
|
||||
],
|
||||
session: {
|
||||
strategy: "jwt"
|
||||
strategy: "jwt",
|
||||
trustHost: true
|
||||
},
|
||||
secret: process.env.NEXT_PUBLIC_JWT_SECRET,
|
||||
callbacks: {
|
||||
|
||||
Reference in New Issue
Block a user