diff --git a/client/app/login/loading.tsx b/client/app/login/loading.tsx new file mode 100644 index 0000000..c74630a --- /dev/null +++ b/client/app/login/loading.tsx @@ -0,0 +1,5 @@ +import PageLoader from "@/components/page-loader"; + +export default function Loading() { + return ; +} diff --git a/server/src/controllers/authentication.controller.ts b/server/src/controllers/authentication.controller.ts index 7aec000..58bc2b1 100644 --- a/server/src/controllers/authentication.controller.ts +++ b/server/src/controllers/authentication.controller.ts @@ -55,7 +55,7 @@ export const authorizeUser = async (req: BodyRequest, res: Response secure: process.env.NODE_ENV === "production", httpOnly: true, signed: true, - sameSite: "lax", + sameSite: "none", expires: refreshTokenExpiry, });