When utilizing this.keycloak.logout() when i am using identity Provider IDP , it redirects to a confirmation page. I want to directly get redirected to login page and the session is ended. The thing is when i don't confirm, it doesn't delete the session from the keyloak dashboard.
You do not need to write an extra code. ‘keycloak.logout’ only requests the redirectUri string. Just do it as follows.
public logout() {
this.keycloak.logout('http://localhost:4200/home');
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With