Login using Keycloak
#
SSO authentication using KeycloakFollow the steps below to be able to use SSO authentication implemented in both Openhim Console and Openhim Core using Keycloak.
#
Enabling SSO1. Openhim Console:
You need to enable the SSO in the config file default.json
:
2. Openhim Core:
This configuration should be adapted according to your use case.
![Login With keycloak UI](/img/login-with-keycloak.png)
#
NotesClicking on Sign-in with keycloak will redirect you to Keycloak Login UI.
![Login With keycloak UI](/img/keycloak-login-ui.png)
After entering the Keycloak User credentials and submiting you will be redirected to the dashboard.
Make sure that Keycloak is on and running to be able to authenticate successfully and that you configured a user with group permissions and details that you need.
The profile user in Openhim will be the same as the profile configured in Keycloak and you will not be able to edit the essential fields from Openhim for that user.
![Login With keycloak UI](/img/keycloak-user-profile.png)