Closed KarlijnsHub closed 1 year ago
Try adding this to your Auth0ClientOptions:
Browser = new WebBrowserBrowser()
@moorer2k this should be setted by default. I had the same problem
Our team ran into this issue as well. An update to the quickstart would be appreciated, we are new to authentication code so it's frustrating when things do not work out of the box.
Sorry for not getting back to this, this must have fallen through the cracks. We have improved the visibility of our sample repositories to avoid this from happening again.
Even though it's been a while, I gave this another try and can not reproduce this anymore, so I assume this has been resolved throughout the time.
Issue Report
Description
What's going wrong is that the application, WindowsFormSample, is stuck after calling LoginAsync
var result = await client.LoginAsync();
It does not give an error or any kind of result. This happens only when I use Visual Studio 2019 as an admin. If I don't use Visual Studio as an admin it works fine. You might expect it to be the otherway around, but a collegue tested it as well and got the same result.
Steps to reproduce the problem
I cloned the WindowsFormSample and updated the .Net version to 4.7.2. Then I updated the Nuget Package Auth0.OidcClient.WinForms to version 3.1.2.
When I downgrade Auth0.OidcClient.WinForms to 2.4.1. it works fine, admin or no admin.
I'd appreciate any help on this.