Upgrade deps + allow node 18.x (#5622)
* Upgrade deps + allow node 18.x * Upgraded next-auth to v4.17 * Latest known to work version of next-auth * Make next-auth.d.ts compatible with [email protected].0 * Type fixes Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
6dce57440e
commit
b31b8cc6df
8 files changed
+1252
-149
No files matched your search
@@ -60,5 +60,14 @@ export function defaultCookies(useSecureCookies: boolean): CookiesOptions {
|
||||
httpOnly: true,
|
||||
},
|
||||
},
|
||||
nonce: {
|
||||
name: `${cookiePrefix}next-auth.nonce`,
|
||||
options: {
|
||||
httpOnly: true,
|
||||
sameSite: "lax",
|
||||
path: "/",
|
||||
secure: useSecureCookies,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user