Skip to content

Commit

Permalink
fix: change cookies to be lax so we can use it to authenticate on con…
Browse files Browse the repository at this point in the history
…trolled subdomains
  • Loading branch information
Sampiiiii committed May 8, 2024
1 parent ae54e35 commit 13430e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/anvil/src/auth/authentication/authentication.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class AuthenticationService {
httpOnly: true,
secure: true,
path: "/",
sameSite: "strict",
sameSite: "lax",
expires: accessTokenExpiresIn,
};

Expand All @@ -100,7 +100,7 @@ export class AuthenticationService {
httpOnly: true,
secure: true,
path: "/",
sameSite: "strict",
sameSite: "lax",
expires: new Date(0),
};

Expand Down

0 comments on commit 13430e7

Please sign in to comment.