[keycloak-user] Springboot adaptor issue with browser bookmark

Hylton Peimer hylton.peimer at datos-health.com
Tue Mar 5 12:02:47 EST 2019


We have a SpringBoot application secured by Keycloak using the
KeycloakWebSecurityConfigurerAdapter.

When the Keycloak login page is reached the URL contains a query string
with "state" and "session_state".

Some of our users bookmark this login page in their browser, which stores
the query string (including state & session_state).

When they return to the page using the bookmark, they get an error.

How can I avoid this situation?

Or if there is no way, does it make sense to catch the error and redirect
the user to the correct page without the problematic query string?


More information about the keycloak-user mailing list