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

CAS Single Sign-Out Issue #336

Open
csxcsx00 opened this issue Nov 8, 2024 · 0 comments
Open

CAS Single Sign-Out Issue #336

csxcsx00 opened this issue Nov 8, 2024 · 0 comments

Comments

@csxcsx00
Copy link

csxcsx00 commented Nov 8, 2024

CAS Single Sign-Out Issue

When running the CAS login example, there is no issue with logout using the provided sample, but there are issues with custom logout functionality.

Service Information

Problem Description

After logging in, when executinglocation.href='https://127.0.0.1:8443/cas/logout?service=http%3A%2F%2F127.0.0.1%3A8080'in the console using the developer tools to logout, it is occasionally observed that the user is not redirected to the CAS server's login page. Upon tracing the code, it is found that the logout operation executing/login/casand redirecting to the service address are handled by two different threads. This results in an inability to guarantee a fixed execution order between the two, and also ensures that the CAS server is fully logged out before redirecting to the service address. This leads to a scenario where, upon redirecting to the service, the user may not be able to be redirected to the CAS server's login page. Due to project requirements, logout may only be performed in this manner, and no better solution can currently be devised.

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

No branches or pull requests

1 participant