Hey guys, im having a problem to setup the logout using Vue.js 2 and keycloak-js on version 18.0.0.
Reading 2022/04 release Keycloak 18.0.0 released - Keycloak i understood that when logging out I must pass the following parameters in the method call:
the id_token_hint (ID Token used for login) and post_logout_redirect_uri (where I want to redirect the route).
So, I’m doing it this way:
But I get this message on the screen and analyzing the request I realize that the redirect did not try to go to the logout route that I defined and the parameter id_token_hint is set to “undefined”. Am I doing it correctly in code and the problem must be somewhere else or is the problem the way I’m passing the parameters?