Closed aron-666 closed 1 month ago
This is a workaround for configuration binding to support both cases. Having this property public will be confusing.
Please consider using: https://nikiforovall.github.io/keycloak-authorization-services-dotnet/qa/recipes.html#how-to-get-options-outside-of-iserviceprovider
Description: The ConfigurationKeyName attribute on the AuthServerUrl2 property in the KeycloakInstallationOptions class is currently set to private. This is causing issues with deserialization as the configuration system cannot access the private property.
File: KeycloakInstallationOptions.cs
Current Code:
Suggested Fix: Change the AuthServerUrl2 property to public to ensure it can be properly deserialized.
Proposed Code:
Reason: Making the property public will allow the configuration system to access and bind the value correctly, resolving the deserialization issue. Thank you.