Skip to content

Commit b8c92cd

Browse files
author
arifuddincoder
committed
fix: google auth callback fix
1 parent 71bea60 commit b8c92cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/app/(auth)/auth/google/callback

src/app/(auth)/auth/google/callback/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ export async function GET(request: NextRequest) {
1818
response.cookies.set(COOKIE_NAMES.ACCESS_TOKEN, accessToken, {
1919
httpOnly: true,
2020
secure: true,
21-
sameSite: "none",
21+
sameSite: "lax",
2222
path: "/",
2323
});
2424

2525
response.cookies.set(COOKIE_NAMES.REFRESH_TOKEN, refreshToken, {
2626
httpOnly: true,
2727
secure: true,
28-
sameSite: "none",
28+
sameSite: "lax",
2929
path: "/",
3030
});
3131

0 commit comments

Comments
 (0)