Compare commits
No commits in common. "cb6ac7610c8cd8c47d8e98e56f052e1a3d3fcd24" and "34080466bd492ee82d556c477c6fd0d6a62a1476" have entirely different histories.
cb6ac7610c
...
34080466bd
@ -14,7 +14,6 @@ export default function AuthCallback() {
|
|||||||
// Set cookie with 7 day expiration, accessible across all subdomains
|
// Set cookie with 7 day expiration, accessible across all subdomains
|
||||||
setCookie("jwt_token", token, {
|
setCookie("jwt_token", token, {
|
||||||
path: "/",
|
path: "/",
|
||||||
domain: "gophernest.net", // shared across all subdomains
|
|
||||||
maxAge: 60 * 60 * 24 * 7, // 7 days in seconds
|
maxAge: 60 * 60 * 24 * 7, // 7 days in seconds
|
||||||
secure: true,
|
secure: true,
|
||||||
sameSite: "lax",
|
sameSite: "lax",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user