From 4303547d8c8505cc93af318db3c5d84bd92d81bd Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Thu, 12 Jun 2025 01:58:56 +0800 Subject: [PATCH] misc: added more descriptive comment --- backend/src/services/identity-ua/identity-ua-service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/services/identity-ua/identity-ua-service.ts b/backend/src/services/identity-ua/identity-ua-service.ts index dfe34a8ac..dec172e4e 100644 --- a/backend/src/services/identity-ua/identity-ua-service.ts +++ b/backend/src/services/identity-ua/identity-ua-service.ts @@ -122,7 +122,8 @@ export const identityUaServiceFactory = ({ } : { accessTokenTTL: identityUa.accessTokenPeriod, - // We set a large max ttl for periodic tokens to ensure that clients (even outdated ones) can always renew their token + // We set a very large Max TTL for periodic tokens to ensure that clients (even outdated ones) can always renew their token + // without them having to update their SDKs, CLIs, etc. This workaround sets it to 30 years to emulate "forever" accessTokenMaxTTL: 1000000000 };