auth0-samples / auth0-WinFormsWPF-oidc-samples

Auth0 OIDC Client with Windows Forms / WPF applications
MIT License
22 stars 26 forks source link

Error Loading discovery document: Issuer name is missing #31

Closed HarperRussell closed 1 year ago

HarperRussell commented 1 year ago

I am receiving the following error when using the Auth0.OidcClient.WinForms assembly (3.2.8) in a ASP.NET Web Application targeting .NET 4.8:

Error Loading discovery document: Issuer name is missing

It's a simple implementation of the example code:

private Auth0Client client;

client = new Auth0Client(new Auth0ClientOptions { Domain = "{DOMAIN}", ClientId = "{CLIENTID}" });

await client.LoginAsync(); // this is where it fails

Is this a known issue? Are there any resolutions?

frederikprijck commented 1 year ago

Did you replace the {DOMAIN} and {CLIENTID} with the correct values?

HarperRussell commented 1 year ago

Yes

frederikprijck commented 1 year ago

I guess we will need more information in order to try and help. Can you share something that reproduces the issue so we can investigate ?

abdala762 commented 1 year ago

I had the same issue with Auth0.OidcClient.WPF and I was able to resolve it by using an older version of the NuGet Package (3.2.3)

frederikprijck commented 1 year ago

Closing this because there hasn't been much information to work with.

If this come up again, please open a new issue with more information for us to work with.