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:
Alex van AndelandPeer Richelsen authored and GitHub committed 2022-11-23 11:35:08 -07:00
1 parent 6dce57440e
commit b31b8cc6df
8 files changed
+1252 -149

No files matched your search

+9
View File
@@ -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,
},
},
};
}