feat(javascript-sdk): ping one signout, flag for iframe skip, remove session call#535
Conversation
🦋 Changeset detectedLatest commit: bac2177 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
View your CI Pipeline Execution ↗ for commit bac2177.
☁️ Nx Cloud last updated this comment at |
1b58dbe to
c781e77
Compare
fc690c1 to
86664b0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #535 +/- ##
===========================================
+ Coverage 58.33% 58.47% +0.14%
===========================================
Files 105 105
Lines 25174 25307 +133
Branches 1688 1690 +2
===========================================
+ Hits 14685 14799 +114
- Misses 10489 10508 +19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| }); | ||
| } else { | ||
| tokens = forgerock.TokenManager.getTokens({ | ||
| skipBackgroundRequest: true, |
There was a problem hiding this comment.
i'm concerned with this naming, i just fear another modern | legacy situation where people will read this name and say yeah we want to skip this.
There was a problem hiding this comment.
As mentioned on Slack. I think this is okay, and unintentially using this option won't do any harm. I've added more information in the JSDoc to cover this option's intention.
| interface GetTokensOptions extends ConfigOptions { | ||
| forceRenew?: boolean; | ||
| login?: 'embedded' | 'redirect' | undefined; | ||
| skipBackgroundRequest?: boolean; |
There was a problem hiding this comment.
I think we should JS Doc comment this GetTokensOptions interface so that the IDE gets more intellisense on this type. Especially this new addition.
18fc61b to
86a7ede
Compare
|
Reviewed / Tested. |
86a7ede to
2530651
Compare
JIRA Ticket
SDKS-3757 & SDKS-3866
Description
This adds the new PingOne
/idpSignoffendpount for ID Token only signoff without redirect.