I am using Keycloak server to implement SSO. I am able to get access token for a specific client using client_credentials flow.
However, my observation is that the access token is granted for internal service account of the client. I would like to get access token for other users present in realm by providing some additional parameter to the token endpoint.
Below is the current request I make to token endpoint using Postman Chrome extension:
POST http://localhost:8080/auth/realms/<realm>/protocol/<protocol>/token
x-www-form-urlencoded
grant_type client_credentials
client_id <client_id>
client_secret <client_secret>
Please let me know if this possible. Also, I would like to convey that am totally new to Keycloak and openid-connect protocol.