-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: lock expireEarlySeconds for non-dev env - OKTA-342102 #540
feat: lock expireEarlySeconds for non-dev env - OKTA-342102 #540
Conversation
Codecov Report
@@ Coverage Diff @@
## dev-5.0 #540 +/- ##
==========================================
Coverage ? 91.27%
==========================================
Files ? 32
Lines ? 1845
Branches ? 411
==========================================
Hits ? 1684
Misses ? 161
Partials ? 0 Continue to review full report at Codecov.
|
@@ -434,6 +435,10 @@ export class TokenManager { | |||
options._storageEventDelay = options._storageEventDelay || 1000; | |||
} | |||
|
|||
if (!isLocalhost()) { | |||
options.expireEarlySeconds = DEFAULT_OPTIONS.expireEarlySeconds; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should mention this in the README as well, otherwise they'll get no feedback on why their setting is being ignored
OKTA-388545 <<<Jenkins Check-In of Tested SHA: 6842f2a for [email protected]>>> Artifact: okta-auth-js Files changed count: 252
No description provided.