79144968

Date: 2024-10-31 13:47:26
Score: 0.5
Natty:
Report link

First make sure you are using the right realm.

Then, enable the service account role for your client in the Keycloak client settings.

enter image description here

POST http://<KEYCLOAK_URL>/realms/<YOUR_REALM>/protocol/openid-connect/token?grant_type=client_credentials&client_id=<YOUR_CLIENT_ID>&client_secret=<CLIENT_SECRET>

You should not need the username and password.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: nono