I have two Keycloak servers, is it possible to perform only one login to login in these two keycloak servers.
Scenario:
I login to keycloak 1 login page
After successful authentication, it logins to the other keycloak 2 (Maybe via API, please suggest)
When I open the web application connected to keycloak 2 server, it is already logged in.
You can set up one Keycloak as an Identity Provider for the other. Then, assuming the session is still active, you can send the user to login with kc_idp_hint (using the alias of the Identity Provider), which will automatically redirect, and authenticate the user with no input.
But, the bigger question is, why would you want to do this?