-
Notifications
You must be signed in to change notification settings - Fork 92
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
Auth0 is breaking sessions (cache or cookies) #901
Comments
More Context: |
As @evansims suggested on v5.2 nonce/cookie issue causing repeated logouts #895.
This problem indeed is caused by rolling sessions and a rece condition between async functions. For me, trying the development 5.x branch wouldn't solve my issues because, even though the development branch has throttled the cookie refresh, using third-party plugins still breaks the session. I suggest implementing a middleware approach to handle the session refresh. |
Duplicate of #895 We cannot provide special allowances or support for unrelated third-party plugins. The expectation is that the Auth0 plugin is solely responsible for handling the authentication state, and we cannot realistically make adjustments for plugins that may manipulate the state in incompatible ways. |
Checklist
Description
When the Auth0 plugin is active alongside WooCommerce or Elementor plugins, several critical issues arise:
Suspected Cause:
I have pinpointed the issue to the interaction between these plugins. I believe the problem is due to how these plugins manage sessions and cookies.
Reproduction
Additional context
This issue might be related to a known problem: v5.2 nonce/cookie issue causing repeated logouts #895.
wp-auth0 version
5.2.0
WordPress version
6.5.3
PHP version
8.2.13
The text was updated successfully, but these errors were encountered: