Skip to content

Commit

Permalink
misc: added samesite lax
Browse files Browse the repository at this point in the history
  • Loading branch information
sheensantoscapadngan committed Jun 19, 2024
1 parent d64e2fa commit f0a70d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/ee/routes/v1/oidc-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export const registerOidcRouter = async (server: FastifyZodProvider) => {
secret: appCfg.COOKIE_SECRET_SIGN_KEY,
store: redisStore,
cookie: {
secure: appCfg.isProductionMode
secure: appCfg.HTTPS_ENABLED,
sameSite: "lax"
}
});

Expand Down

0 comments on commit f0a70d8

Please sign in to comment.