oidc-wp / openid-connect-generic

WordPress plugin to provide an OpenID Connect Generic client
https://wordpress.org/plugins/daggerhart-openid-connect-generic/
262 stars 156 forks source link

Keycloak Documentation update for invalid_redirect_uri errors #472

Open schewara opened 1 year ago

schewara commented 1 year ago

We just ran into the problem that logout was not working and kept showing the following error

error = invalid_redirect_uri
redirect_uri = https://my-wp.tld/wp-login.php?loggedout=true&wp_lang=en_US

After some digging, I discovered https://github.com/keycloak/keycloak/issues/14246 as we are also currently running Keycloak 19 with the old Admin UI.

Only after setting the

the logout was finally working as it should.

I just wanted to raise it here, as it might be a helpful to have it also mentioned in the Wiki Page if someone else runs into it.

Big thanks to you for this awesome Plugin, which works like a charm!

timnolte commented 1 year ago

Ah, thanks for this. I don't think I had ever hit this issue as I have been running a pretty new Keycloak Docker image. I will make a note of this in the documentation.