Open deadman2000 opened 3 years ago
I trying change password by this:
_client.ResetUserPasswordAsync(_conf.Realm, userId, new Credentials { Value = password, Type = "password", Temporary = false, });
Request body is:
{"algorithm":null,"config":null,"counter":null,"createdDate":null,"device":null,"digits":null,"hashIterations":null,"hashSaltedValue":null,"period":null,"salt":null,"temporary":false,"type":"password","value":"123456"}
Throwing exception Flurl.Http.FlurlHttpException: Call failed with status code 400 (Bad Request)
Flurl.Http.FlurlHttpException: Call failed with status code 400 (Bad Request)
Keycloak answer body:
Unrecognized field "hashSaltedValue" (class org.keycloak.representations.idm.CredentialRepresentation), not marked as ignorable
I welcome a pull request for this.
I trying change password by this:
Request body is:
Throwing exception
Flurl.Http.FlurlHttpException: Call failed with status code 400 (Bad Request)
Keycloak answer body: