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?