Merge pull request #8852 from backstage/rugvip/auto

auth-backend: switch over to use auto secure cookies
This commit is contained in:
Patrik Oldsberg
2022-01-10 19:49:23 +01:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export async function createRouter(
secret,
saveUninitialized: false,
resave: false,
cookie: { secure: enforceCookieSSL },
cookie: { secure: enforceCookieSSL ? 'auto' : false },
}),
);
router.use(passport.initialize());