Skip to content

Commit

Permalink
Merge pull request #129 from modern-agile-team/feature/search
Browse files Browse the repository at this point in the history
Test(hobiJeong/Auth): sameSite 설정 변경
  • Loading branch information
hobiJeong authored Nov 14, 2023
2 parents 0082936 + e97e9c2 commit 408b60d
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: 'Lax',
sameSite: 'None',
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: 'Lax',
sameSite: 'None',
domain: 'localhost',
maxAge: 1000 * 60 * 60 * 24 * 7, // 7일
});
Expand Down

0 comments on commit 408b60d

Please sign in to comment.