Closed ajfleming1 closed 1 year ago
@ajfleming1 I guess you have opened this request wrongly in this repo. The code seems to belong to our auth0-oidc-client-net SDK. @frederikprijck handles this and you can open an issue there. I will close this now but please feel free to reopen this if you have any doubts regarding our Android SDK.
Be sure to check https://github.com/auth0/auth0-oidc-client-net/issues/240 on how to solve it, before opening a new issue.
But if that doesnt help, you are ofcourse welcome to open a new one!
We I click login on the Android sample an System.InvalidOperationException is being thrown with the message
Error loading discovery document: Error connecting to https://xxx.auth0.com/.well-known/openid-configuration. The SSL connection could not be established, see inner exception..
Googling around revealed that this is an issue related to Let's Encrypt Certificates. I cannot resolve this issue myself as it is happening in the Auth0.OidcClient library.
Inner exception
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED at /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/boringssl/ssl/handshake_client.c:1132
Stack Trace
at IdentityModel.OidcClient.OidcClient.EnsureProviderInformationAsync (System.Threading.CancellationToken cancellationToken) [0x00155] in /_/src/OidcClient/OidcClient.cs:410 at IdentityModel.OidcClient.OidcClient.EnsureConfigurationAsync (System.Threading.CancellationToken cancellationToken) [0x00023] in /_/src/OidcClient/OidcClient.cs:374 at IdentityModel.OidcClient.OidcClient.LoginAsync (IdentityModel.OidcClient.LoginRequest request, System.Threading.CancellationToken cancellationToken) [0x00070] in /_/src/OidcClient/OidcClient.cs:73 at Auth0.OidcClient.Auth0ClientBase.LoginAsync (System.Object extraParameters, System.Threading.CancellationToken cancellationToken) [0x000f8] in <34f276a24a504fc099620fe62e28d814>:0 at AndroidSample.MainActivity.LoginButtonOnClick (System.Object sender, System.EventArgs eventArgs) [0x00095] in C:\dev\sandbox\auth0-xamarin-oidc-samples\Quickstart\01-Login\Android\AndroidSample\MainActivity.cs:74