silentpartnersoftware / Keycloak.Net

C# client for Keycloak version 17+
MIT License
51 stars 31 forks source link

jsonproperties in Keycloak.Net.Models.ProtocolMappers.ProtocolMapper #2

Closed Trapian77 closed 2 years ago

Trapian77 commented 2 years ago

When using CreateProtocolMapperAsync. You have to define Keycloak.Net.Models.ProtocolMappers.ProtocolMapper with Keycloak.Net.Models.ProtocolMappers.Config which also has the wrong jsonproperties: [JsonProperty("jsonTypelabel")].

Should the attributes corrected or also a switsch to Dictionary<string,string>.

I could prepare the changes.

AnderssonPeter commented 2 years ago

If you create a pull request I would be happy to merge and create a new nuget!