This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
PathString should have a registered TypeConverter #848
Closed
Description
I ran into an issue while attempting to configure the OpenIdConnect provider using the Options/configuration APIs. The issue was around trying to assign a the OpenIdConnect.CallbackPath value which is of type PathString. This failed, with a conversion error trying to convert my string value from the configuration to the PathString property.
The original issue is here: aspnet/Security#1230
This can resolved by reigistering a TypeConverter for PathString. However, it seems like such a TypeConverter would be best defined along side the PathString class itself.