MobileBlazorBindings icon indicating copy to clipboard operation
MobileBlazorBindings copied to clipboard

How to skip certificate validation for the "WebView" or how set "RequireHttpsMetadata" to false via ProviderOptions [AuthSample]

Open alexfdezsauco opened this issue 4 years ago • 2 comments
trafficstars

I trying to test the authentication example using a local identity server.

But I got this error caused by a self signed certificate.

image

For development propose could be useful the possibility of use http instead https but there is no option for something like:

options.ProviderOptions.RequireHttpsMetadata = false;

to skip this image

alexfdezsauco avatar Feb 10 '21 01:02 alexfdezsauco

Closing this because there are workarounds and it isn't yet clear if this is a common scenario. Please see this comment for more details and discussion: https://github.com/dotnet/MobileBlazorBindings/pull/322#issuecomment-780179951

Eilon avatar Feb 16 '21 23:02 Eilon

Re-opening for further consideration.

Eilon avatar Feb 17 '21 01:02 Eilon