Skip to content

Conversation

@ryanbas21
Copy link
Contributor

JIRA Ticket

None

Description

Noticed some issues with logout flow, this logic fix was required to make it work as intended.

@changeset-bot
Copy link

changeset-bot bot commented Jun 5, 2025

🦋 Changeset detected

Latest commit: 58360de

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@forgerock/javascript-sdk Patch

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

@github-actions github-actions bot added the sdk label Jun 5, 2025
@nx-cloud
Copy link

nx-cloud bot commented Jun 5, 2025

View your CI Pipeline Execution ↗ for commit 58360de.

Command Status Duration Result
nx affected -t build lint test docs e2e-ci --ve... ✅ Succeeded 5m 28s View ↗
nx-cloud record -- nx format:check --verbose ✅ Succeeded 5s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-09 15:42:09 UTC

'@forgerock/javascript-sdk': patch
---

fix logic for when we should call session revoke
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd reword this for improved clarity:

Fix condition for determining session endpoint request for terminating session in AIC/AM

const { serverConfig } = Config.get(configOptions);

if (getEndpointPath('sessions', realmPath, serverConfig.paths)) {
if (!serverConfig.paths || (serverConfig.paths && 'sessions' in serverConfig.paths)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 58.68%. Comparing base (ec639cb) to head (58360de).
Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
packages/javascript-sdk/src/fr-user/index.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #544      +/-   ##
===========================================
- Coverage    58.68%   58.68%   -0.01%     
===========================================
  Files          105      105              
  Lines        25681    25680       -1     
  Branches      1690     1690              
===========================================
- Hits         15071    15070       -1     
  Misses       10610    10610              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ryanbas21 ryanbas21 merged commit c8ef61f into develop Jun 9, 2025
4 checks passed
@github-actions github-actions bot mentioned this pull request Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants