Keycloak.Net icon indicating copy to clipboard operation
Keycloak.Net copied to clipboard

UserNameStatus deserialization error

Open chrisstephanrm opened this issue 4 years ago • 2 comments

Hello,

So I have an issue with the "GetUserNameStatusInBruteForceDetectionAsync" function. Its response "UserNameStatus" is expecting a long? instead of int? for the field "LastFailure", so it is crashing on the deserialization. Please check the response here below as an example from Keycloak API.

{ "numFailures": 2, "disabled": false, "lastIPFailure": "46.193.6.176", "lastFailure": 1622463072963 }

May you please update the model and the package?

chrisstephanrm avatar May 31 '21 12:05 chrisstephanrm

I am able to reproduce the error.

Utar94 avatar Jul 16 '24 20:07 Utar94

@Utar94 an actively maintained fork has been made of this project, it can be found here.

Please test it out and see if your issue is resolved, if not, open an issue or a PR and we can get it fixed.

sps-campbellwray avatar Jul 17 '24 12:07 sps-campbellwray