When creating a new client in Keycloak service through sending the post request to /{realm}/clients, both clientId and id are optional fields in post body.
If I didn't specify them, keycloak will generate it automatically. Then I found when I request to get client-secret, I need to put the id into url to indicate the client-secret of which client I need to get ?
I try to figure out how can I get the id of client from Keycloak API docs but didn't get the answer.
Anyone has idea?