You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
V5 - Login failing (with no errors) but only for some accounts. #943
I have applied the Pantheon cookie name fix outlined here: #892
The setup process has been fairly smooth, but for a small number of accounts the login process completes successfully but WordPress acts like they are not logged in.
The login process does work for a large number of the users, so it doesn't appear to be an installation/configuration issue. It is working, just not for everyone.
The cookies that are created for the problem account:
For comparison, the cookies that are created for a working account:
Reproduction
Most common, working behaviour:
Click login button on WP site
Taken to custom Auth0 domain
Redirected back to WP site. I am logged in.
This is working as expected.
Problem behaviour (which just so happens to be my client/admin users, so it's a big issue):
Click login button on WP site
Taken to custom Auth0 domain
Redirected back to WP site. Cookies are created but I'm still in a logged out state.
I do not see any errors on screen or in the server error logs.
I see the successful login in the Auth0 → Monitoring → Logs.
Additional context
If I clone the pantheon database into my local DDEV environment I can login successfully, even with the account that causes issues on the Pantheon staging site.
Update - It seems this issue is related to the size of the payload reaching WordPress (and potentially the number/size of the cookies being created).
In this instance the Auth0 admin has configured the it so only the app metadata specifically related to the application being accessed was returned. The "problem" accounts were those with the most data / most complex setups in Auth0.
Restricting the amount of data sent back to the Auth0 plugin seems to resolve the issue. (After waiting a little while though, maybe some caching or time for config changes to take effect).
@graham73may I ran into a similar issue that seemed to be related to the size of the response/payload/cookie for some user accounts, but not others. You mentioned restricting the amount of data sent—I know it's been a while, but do you remember how you configured that?
I'm afraid I never had access to that setting in Auth0, the client was the Auth0 admin and was the one who reconfigured this.
Essentially the users that were failing for me were the client admins, it was as if Auth0 was sending data for EVERYTHING they had access to. Restricting the data sent back to the WordPress side drastically reduced the amount of cookie data.
Sorry I'm not able to give more detail, I can reach out to the client if you don't have any luck finding the config in Auth0.
Activity
graham73may commentedon Oct 24, 2025
Update - It seems this issue is related to the size of the payload reaching WordPress (and potentially the number/size of the cookies being created).
In this instance the Auth0 admin has configured the it so only the app metadata specifically related to the application being accessed was returned. The "problem" accounts were those with the most data / most complex setups in Auth0.
Restricting the amount of data sent back to the Auth0 plugin seems to resolve the issue. (After waiting a little while though, maybe some caching or time for config changes to take effect).
blakmarkit commentedon Feb 16, 2026
@graham73may I ran into a similar issue that seemed to be related to the size of the response/payload/cookie for some user accounts, but not others. You mentioned restricting the amount of data sent—I know it's been a while, but do you remember how you configured that?
graham73may commentedon Feb 17, 2026
Hi @blakmarkit
I'm afraid I never had access to that setting in Auth0, the client was the Auth0 admin and was the one who reconfigured this.
Essentially the users that were failing for me were the client admins, it was as if Auth0 was sending data for EVERYTHING they had access to. Restricting the data sent back to the WordPress side drastically reduced the amount of cookie data.
Sorry I'm not able to give more detail, I can reach out to the client if you don't have any luck finding the config in Auth0.