Relative Content

Tag Archive for c#winformsauth0

Error loading discovery document: Issuer name is missing

I’m having an runtime error with oidcClient.LoginAsync().In my solution there are 9 projects. To configure auth0 I have to add Auth0-OidcClient-WinForms package for the server related project after adding it I have to migrate the packages.config file to package references to work with installed package. In this process Auth0 work fine without having any issue. But when I build the setup.exe file I was getting runtime error related to assembly binding in app.config file. So I have migrate whole other project from package.config to package references. After this change I’m getting “Error loading discovery document: Issuer name is missing” issue.
I have added the stacktrace and the code I have used bellow.