Identityserver4: how to request without "https"???( await DiscoveryClient.GetAsync)

Created on 1 Aug 2018  路  4Comments  路  Source: IdentityServer/IdentityServer4

run:
var disco = await DiscoveryClient.GetAsync("http://192.168.1.4:5000");
error:
"Error connecting to http://192.168.1.4:5000/.well-known/openid-configuration: HTTPS required"

how to request without "https"
"var disco = await DiscoveryClient.GetAsync("http://192.168.1.4:5000");"//how to request without "https"

question

Most helpful comment

It's the policy property, IIRC.

All 4 comments

There's an option on the DiscoveryClient to allow http.

Hi brockallen. Where is an option? I couldn't find it on the DiscoveryClient

It's the policy property, IIRC.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings