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

Session Extension API Does Not Extend Sub-Organization Sessions #23291

Open
Pratheesha97 opened this issue Feb 27, 2025 · 0 comments
Open

Session Extension API Does Not Extend Sub-Organization Sessions #23291

Pratheesha97 opened this issue Feb 27, 2025 · 0 comments

Comments

@Pratheesha97
Copy link

Description

When authenticating users from a sub-organization, two sessions are created:

  1. A session in the root organization, which acts as the effective session.
  2. A session in the sub organization, created due to the underlying federation architecture.

However, when invoking the Session Extend API (/extend-session) [1] to extend the session for sub-organization users, only the session in the root organization gets extended. The session in the sub-organization remains unaffected.

If the sub-organization session eventually times out, it triggers a logout request to the root organization, terminating the root session as well. As a result, the session extension API becomes ineffective for sub-organization users, leading to unexpected session terminations.

Expected Behavior:

Session extension API should extend both the root and sub organization sessions to prevent premature session termination.

Steps to Reproduce

  • Authenticate using a sub-organization user.
  • Invoke the Session Extend API (/extend-session) [1] to extend the session.
  • Observe that only the root organization session is extended, while the sub-organization session remains unchanged.

[1] - https://is.docs.wso2.com/en/latest/apis/idp-session-extender-endpoint/

Version

7.0.0

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants