misc: added more descriptive comment

This commit is contained in:
Sheen Capadngan
2025-06-12 01:58:56 +08:00
parent f1c8a66d31
commit 4303547d8c

View File

@@ -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
};