Skip to content
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

Merged

Conversation

shuowu
Copy link
Contributor

@shuowu shuowu commented Nov 6, 2020

No description provided.

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (dev-5.0@b00271f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b00271f...22563d8. Read the comment docs.

@@ -434,6 +435,10 @@ export class TokenManager {
options._storageEventDelay = options._storageEventDelay || 1000;
}

if (!isLocalhost()) {
options.expireEarlySeconds = DEFAULT_OPTIONS.expireEarlySeconds;
Copy link
Contributor

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

@shuowu shuowu changed the base branch from dev-5.0 to master November 10, 2020 16:02
@shuowu shuowu changed the base branch from master to dev-5.0 November 10, 2020 16:03
@shuowu shuowu merged commit 34974d0 into dev-5.0 Nov 10, 2020
eng-prod-CI-bot-okta pushed a commit that referenced this pull request Apr 20, 2021
OKTA-388545
<<<Jenkins Check-In of Tested SHA: 6842f2a for eng_productivity_ci_bot_okta@okta.com>>>
Artifact: okta-auth-js
Files changed count: 252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants