Skip to content

Check for active sessions in the same browser for SessionLimitHandler #224

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

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

hwupathum
Copy link
Contributor

Related issue

Summary

During the sub-organization login flow, a re-authentication is triggered if Organization SSO is the authenticated IdP in the first step. This forces the authenticators added in the second step to execute as well.

Therefore we are adding a check to see if user is already authenticated in the same browser in SessionLimitHandler.

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/13785837242

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/13785837242
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

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

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/13785837242

Copy link

codecov bot commented Mar 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.21%. Comparing base (9dd8cf4) to head (063b25c).
Report is 19 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #224      +/-   ##
============================================
+ Coverage     38.55%   39.21%   +0.65%     
- Complexity      205      209       +4     
============================================
  Files            24       25       +1     
  Lines          1774     1785      +11     
  Branches        317      316       -1     
============================================
+ Hits            684      700      +16     
+ Misses          970      964       -6     
- Partials        120      121       +1     
Flag Coverage Δ
unit 43.14% <ø> (+0.47%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@hwupathum hwupathum merged commit 45ec932 into wso2-extensions:master Mar 12, 2025
4 checks passed
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.

3 participants