lvermeulen / Keycloak.Net

C# client for Keycloak 6.x
MIT License
203 stars 120 forks source link

GetSecret doesn't return any data #42

Closed razzeee closed 3 years ago

razzeee commented 3 years ago

It seems to me like

https://github.com/lvermeulen/Keycloak.Net/blob/main/src/Keycloak.Net/Clients/KeycloakClient.cs#L88

shouldn't be Credential but Credentials from the User scope. That at least would match up with the return I get from the api manually.

I think GenerateSecret might be broken due to that too.