FusionAuth / fusionauth-netcore-client

The .NET Core client for FusionAuth
https://fusionauth.io
Apache License 2.0
28 stars 11 forks source link

Patch Registration Issue #38

Open S4RD7R opened 3 years ago

S4RD7R commented 3 years ago

Hi,

I'm having an issue Patching a Registration.

{ "registration":{ "applicationId": "9d830621-2853-404f-9e11-47167fb643cf", "data": { "MMConnector" : { "value1" : "abc", "value2" : "test" } } } }

I'm using the above JSON in the call and after the call to the registration with the PATCH method the registration no longer has a Username, Language or Roles.

As far as I know the Patch should only update the values provided and to remove a value you need to pass that in the JSON and set it to null.

The same process seems to work OK on Patching an Application from what I can tell. So what is going wrong with the patching of the Registration?

mooreds commented 3 years ago

I think this is https://github.com/FusionAuth/fusionauth-issues/issues/667