openid-connect-generic icon indicating copy to clipboard operation
openid-connect-generic copied to clipboard

Conflict with Wordpress Object cache

Open sepehr-davarnia opened this issue 3 years ago • 2 comments

Hi

Whenever I enable any of WordPress object caches (redis, memcache, memcahced, ...) OpenID connect throws this error.

image

sepehr-davarnia avatar Feb 13 '22 15:02 sepehr-davarnia

@sepehr-davarnia I personally use a Redis object cache on our Development & Testing instances, as well as some client sites, and I have yet to see an issue. Are you certain that you are correctly configuring your object caches?

timnolte avatar Mar 19 '22 02:03 timnolte

This is a problem for me too. We have a login button on every page, which generates the same state value with the cache enabled, leading to invalid state, though the issue only appears intermittently. Turning off the page cache completely is the only solution that we've found works.

xmunoz avatar Dec 07 '22 12:12 xmunoz