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

Keycloak Documentation update for invalid_redirect_uri errors

Open schewara opened this issue 2 years ago • 1 comments

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

  • Valid post logout redirect URIs to https://my-wp.tld/*

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!

schewara avatar Feb 21 '23 14:02 schewara

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.

timnolte avatar Feb 21 '23 14:02 timnolte