mirror of
https://github.com/seerr-team/seerr.git
synced 2026-05-23 16:28:49 -04:00
fix: explicitly set sameSite: strict for OIDC correlation cookies
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user