diff --git a/packages/auth/src/app.ts b/packages/auth/src/app.ts index a70d438e24..5d45deab10 100644 --- a/packages/auth/src/app.ts +++ b/packages/auth/src/app.ts @@ -344,7 +344,7 @@ export class App { koa.keys = [this.config.cookieKey] const redis = await this.container.use('redis') - const maxAgeMs = 60 * 1000 + const maxAgeMs = this.config.interactionExpirySeconds * 1000 koa.use( session( {