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

SSO disabled, Single Logout enabled causes users to get logged out automatically a few seconds after logging in #336

Closed
idpaterson opened this issue Aug 15, 2017 · 1 comment
Assignees
Milestone

Comments

@idpaterson
Copy link
Contributor

idpaterson commented Aug 15, 2017

Customers have reported an inability to log in to WooCommerce, getting stuck in a loop where after logging in their My Account page is displayed briefly before being redirected back to the log in page. We were able to duplicate this behavior with both the Auth0 Sign in as user feature and the WordPress User Switching plugin.

I disabled the Single Logout feature and now the user remains logged in as expected. We have not used SSO for quite some time since this plugin is incompatible with SSO for non-WordPress users.

I cannot verify whether the combination of SSO off and Single Logout on is exactly the cause of this problem but the code suggests that it may be. If Single Logout is only meant to work when SSO is enabled it might be beneficial to prevent selection of the former when the latter is disabled.

The behavior described above may be caused by auth0-singlelogout-handler.php which after the DOM loads redirects to the logout page apparently if there is no SSO data.

@joshcanhelp joshcanhelp added this to the v3-Next milestone Feb 27, 2018
@joshcanhelp joshcanhelp self-assigned this Feb 27, 2018
@joshcanhelp joshcanhelp removed this from the v3-Next milestone May 3, 2018
@joshcanhelp joshcanhelp added this to the 3.6.0 milestone May 22, 2018
@joshcanhelp
Copy link
Contributor

Fixed in #466, merged into dev and ready for release 👍

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants