From 0b3fd09bb0574191b4dc98fc89c4d1a08db6355b Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Thu, 22 Jun 2023 01:52:13 +0200 Subject: [PATCH] no token expiration? --- packages/backend/src/server/oauth/OAuth2ProviderService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/oauth/OAuth2ProviderService.ts b/packages/backend/src/server/oauth/OAuth2ProviderService.ts index 1ec955386..fa5299dbc 100644 --- a/packages/backend/src/server/oauth/OAuth2ProviderService.ts +++ b/packages/backend/src/server/oauth/OAuth2ProviderService.ts @@ -301,6 +301,7 @@ export class OAuth2ProviderService { const accessToken = secureRndstr(128, true); const now = new Date(); + // NOTE: we don't have a setup for automatic token expiration await accessTokensRepository.insert({ id: idService.genId(), createdAt: now,