Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: added more descriptive comment

Sheen Capadngan4303547d8c85
diff --git a/backend/src/services/identity-ua/identity-ua-service.ts b/backend/src/services/identity-ua/identity-ua-service.ts
index dfe34a8acd..dec172e4ea 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
};