Skip to content

Open ID Connect Authentication Attempt Results in Connection Failure #19146

Discussion options

You must be logged in to vote

Hi @jeromelaban thank you for your assistance here. 🙏 This has been a tricky one for me as I am completely new to all of this, having had my nose in Blazor for the past 5 years, where an emulator is not a consideration.

After several further attempts, I was able to determine the issue to be the that the authority should be http://10.0.2.2:5275. However, now the Open ID Connect client is having problems with the http:// and saying that HTTPS is required.

There is a policy on the OidcClientOptions and I have tried to set the following after the IHost is created with little avail:

var snapshot = host.Services.GetRequiredService<IOptionsSnapshot<OidcClientOptions>>();
		var options  = snapsho…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Mike-E-angelo
Comment options

Answer selected by Mike-E-angelo
@Mike-E-angelo
Comment options

Comment options

You must be logged in to vote
1 reply
@Mike-E-angelo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants