Open ID Connect Authentication Attempt Results in Connection Failure
#19146
-
I have been using the Open ID Connect authenticator and it works perfectly with I am able to connect to the discovery document just fine when I access it directly in the browser. However, when attempting to login via the Uno application on Android, I get the following error:
I've also tried
I've done some searching around this and found a possible emulator port configuration discussed here: However, I have tried all the suggestions and it doesn't seem what I am encountering. Most notably, there doesn't seem to be a Any assistance and pointers around this would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Thanks for the question.
|
Beta Was this translation helpful? Give feedback.
-
The error message you are getting is suggesting you're using a local server as the Authority (the IAM) server, the server used to login. The Oidc library will seek for |
Beta Was this translation helpful? Give feedback.
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 thehttp://
and saying that HTTPS is required.There is a policy on the
OidcClientOptions
and I have tried to set the following after theIHost
is created with little avail: