Skip to content

Commit

Permalink
test(#11): sameSite 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hobiJeong committed Nov 14, 2023
1 parent 1fe0505 commit 5912977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class AuthController {

res.cookie('refresh_token', refreshToken, {
httpOnly: true,
sameSite: 'None',
sameSite: 'Lax',
domain: 'localhost',
maxAge: 1000 * 60 * 60 * 24 * 7, // 7일
});
Expand Down Expand Up @@ -83,7 +83,7 @@ export class AuthController {

res.cookie('refresh_token', refreshToken, {
httpOnly: true,
sameSite: 'None',
sameSite: 'Lax',
domain: 'localhost',
maxAge: 1000 * 60 * 60 * 24 * 7, // 7일
});
Expand Down

0 comments on commit 5912977

Please sign in to comment.