While working on a project with keycloak, I've encountered an issue that I can't seem to figure out.
After logging in and navigating to my project's page, everything operates smoothly. However, if I happen to refresh the page before logging out, upon logout I am directed to a "Confirm logout" page.
Is there a way to prevent this page from showing up?
Here are the current keycloak configurations I'm using:
await keycloak.init({
config: environment.keycloakConfig,
loadUserProfileAtStartUp: true,
initOptions: {
onLoad: 'check-sso',
checkLoginIframe: false,
silentCheckSsoRedirectUri: window.location.origin + '/assets/keycloak/silent-check-sso.html',
enableLogging: true
}
});
In previous versions of keycloak-js/keycloak-angular, there was an option to disable this page during the logout() action. Unfortunately, it seems that this feature is not available in the latest versions.