I’m using Keycloak 18.0.0 and I found an update on logout (https://www.keycloak.org/2022/04/keycloak-1800-released#_openid_connect_logout) where it is necessary to register a post logout redirect URI in the Valid post logout URIs field within the Keycloak interface. But this field is not appearing for me in the client settings.
AFAIK it’s only available in the “new” admin console UI. For that, you have to go into Realm settings → Themes and switch the Admin theme to keycloak.v2.
It doesn’t seem to be available for version 18.0.0.
I did a local install and realized that in version 19.0.3 this theme is already by default. However, in the project I’m working on, we use version 18.0.0 and we’re having problems using logout with Redirect URIs, precisely because of the logout update of the release.
Keycloak 18 takes the configured valid login redirect URIs as valid post logout redirects. If that is ok for you, there’s no need to upgrade to the (buggy) 19 version with that (more buggy) new admin console…
The adapter code has this snipped, which I belive shows that the redirectUri is used to build the post_logout_redirect_uri and the it_token_hint is filled automatically: