Configure OIDC on Keycloak for a Web Service
This section will guide you in configuring authentication via OIDC with Keycloak.
Client Configuration
Go to the "Clients" page and click on the "Create" button :
Assign a name to the “Client ID” (necessary for the configuration on the BMS).
Set the “Access Type” to “confidential”.
Set “Service Accounts Enabled” to “true”.
Add “Root URL”, “Valid Redirect URLs”, “Admin URL”, and “Web Origins” with the address of the BMS where the Web Service is located. In the example below, dev.mars :
Click on “Save” at the bottom of the page.
Configuration of the Web Service Authentication for BMS
Retrieve the Client Secret
Go to the “Credentials” tab of the client and retrieve the secret (necessary for configuration in the BMS).
Retrieve the token URL
Go to “Realm Settings.”
Click on “OpenID Endpoint Configuration.”
At the bottom of the file, locate “token_endpoint.”
Copy the value to configure it in the BMS.
Configuration of the web service in the BMS
All that remains is to go to the BMS and fill in the following fields :
Last updated