Back button goes to keycloak when authenticating through SSO

Hey all,

My Issue:

When I authenticate using SSO (say google), I will successfully authenticate and go into my admin portal. However, from my admin portal when I click on the back button in my browser it takes me to a keycloak page with the route auth/realms/org/broker/google/endpoint?...

This issue is only there if I use SSO as an option to login and it does not happen if I authenticate via email/ username & password.

I’m currently using keycloak v23.0.5.

What I expect to happen:

After clicking on the back button on the browser it should either redirect me to the google sign-in or my application’s login screen.

Is there any configuration that I’m missing here from Keycloak?

Thanks for any help you can provide me with this.