I am using keycloak server version 10.0.2 and keycloak js version 10.0.2 and have created a identity provider OpenID connect and filled-in the required fields. I was able to connect to AD and sync user to keycloak after logged into AD. I have been given a windows machine with active directory username and password.Once logged-in to windows, I am logged into AD, but the problem is neither in chrome nor in firefox, gets the currently logged in windows AD user for single sign on, The code I have is given in this link: Keycloak JavaScript API to get current logged in user
Please help
Regards
Kris