Hello Keycloak friends,

I have an application with a custom login theme that shows/hides a user input to make a 2-step flow on a single page; it's done this way to reduce redrawing the page and to minimize code duplication. The problem here is that the URL doesn't change between both steps; without a URL change, the browser's back functionality doesn't know to step between the steps.

Do we have any control over the URL from within our login theme? My current idea is to modify/increment the state parameter between steps, but I'm open to any suggestions.

On the flip side, can we break our steps out into 2 separate pages in a way that our theme doesn't redraw between page changes? It's pretty jerky when it does so.

Thanks!
Chris