Please include the following information in your post:
- Which SDK this is regarding: e.g. Auth0-OidcClient-WinForms
- SDK Version: e.g. 3.2.5
- Platform Version: e.g. ,NET Framework 4.8
- Code Snippets/Error Messages/Supporting Details/Screenshots:
************** Exception Text **************
System.InvalidOperationException: Error loading discovery document: Issuer name is missing
at IdentityModel.OidcClient.OidcClient.<EnsureProviderInformationAsync>d__17.MoveNext() in /_/src/OidcClient/OidcClient.cs:line 395
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at IdentityModel.OidcClient.OidcClient.<EnsureConfigurationAsync>d__16.MoveNext() in /_/src/OidcClient/OidcClient.cs:line 373
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at IdentityModel.OidcClient.OidcClient.<LoginAsync>d__9.MoveNext() in /_/src/OidcClient/OidcClient.cs:line 75
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Auth0.OidcClient.Auth0ClientBase.<LoginAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Apex.UserExperience.MainViewModel.<LogInOut>d__139.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Is this a feature request or bug report? I do not know if it’s a bug; it seems to be a runtime issue. However, it happened only once on my machine, while on my tester’s machine, it’s show stopping her from logging into my app, which is configured as a native app with mobile endpoints.
Until today I never saw the error at all. I saw it once, showing her how it was working fine on my machine (lol); however, I cannot otherwise even reproduce it. But it happens all the time on her machine.
I found some posts that it’s possible to skip the issuer verification, but that seems like bad practice.
What is going on and how do I get it to work?
Sincerely,
Bob