Merge pull request 'fix: fixed domain in UI settings of cookie' (#96) from dev into master
All checks were successful
Deploy application with Docker / build_and_deploy (push) Successful in 1m2s
All checks were successful
Deploy application with Docker / build_and_deploy (push) Successful in 1m2s
Reviewed-on: #96
This commit is contained in:
commit
3662ced22b
@ -14,6 +14,7 @@ export default function AuthCallback() {
|
||||
// Set cookie with 7 day expiration, accessible across all subdomains
|
||||
setCookie("jwt_token", token, {
|
||||
path: "/",
|
||||
domain: "gophernest.net", // shared across all subdomains
|
||||
maxAge: 60 * 60 * 24 * 7, // 7 days in seconds
|
||||
secure: true,
|
||||
sameSite: "lax",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user