fix: explicitly set sameSite: strict for OIDC correlation cookies

This commit is contained in:
Michael Thomas
2026-03-27 13:10:55 -04:00
parent 136157cdf9
commit 2667ec98fa

View File

@@ -708,6 +708,7 @@ authRoutes.get('/oidc/login/:slug', async (req, res, next) => {
httpOnly: true,
secure: req.protocol === 'https',
signed: true,
sameSite: 'strict',
});
const callbackUrl = getOidcRedirectUrl(req);
@@ -726,6 +727,7 @@ authRoutes.get('/oidc/login/:slug', async (req, res, next) => {
httpOnly: true,
secure: req.protocol === 'https',
signed: true,
sameSite: 'strict',
});
let redirectUrl: URL;