Skip to content

Commit

Permalink
test lax JWT cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
freemvmt committed Oct 31, 2024
1 parent b8b41f4 commit fd21b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.planx.uk/modules/auth/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function setJWTCookie(returnTo: string, res: Response, req: Request) {
new Date().setFullYear(new Date().getFullYear() + 1),
).getTime(),
// the JWT/auth cookies should be sent only between the API server and editor
sameSite: "strict",
sameSite: "lax",
secure: true,
};

Expand Down

0 comments on commit fd21b41

Please sign in to comment.