diff --git a/controlplane/src/core/composition/composer.ts b/controlplane/src/core/composition/composer.ts index 6da13ca62e..5482012de8 100644 --- a/controlplane/src/core/composition/composer.ts +++ b/controlplane/src/core/composition/composer.ts @@ -191,7 +191,7 @@ export class Composer { const token = await signJwtHS256({ secret: admissionConfig.jwtSecret, token: { - iat: nowInSeconds() + 5 * 60, // 5 minutes + exp: nowInSeconds() + 5 * 60, // 5 minutes aud: audiences.cosmoCDNAdmission, // to distinguish from other tokens organization_id: organizationId, federated_graph_id: composedGraph.id,