We have use case in which we would like to expire the token earlier than the configured time.
Currently, as per okta SDK - okta-auth-js okta/okta-auth-js: The official js wrapper around Okta’s auth API (github.com)
tokens are considered expired 30 seconds before actual expiration time and can be configured to different value only for development purpose. Will this feature be available for production application?
Hi @Jas1! You are correct, and this is configurable for development purposes here - GitHub - okta/okta-auth-js: The official js wrapper around Okta's auth API but not in production because the SDK needs a valid access token to obtain new ones (hard-capped at 30 seconds).
You may want to share your use case on our Ideas Page so that others in our dev community can vote on it and our SDK team can consider it.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.