English 中文(简体)
Auth0 - Unable to see/getlogin or signup page
原标题:Auth0 - Unable to see/get login or signup page

I am trying to use Auth0 for the first time and referred sample code from here to create a Asp.net MVC sample application. https://github.com/auth0-samples/auth0-aspnetcore-mvc-samples/tree/master/Quickstart/Sample

I have created the application and have set all the settings as mentioned on the Auth0 starter page as well as the guidelines mentioned here https://medium.com/@gnerva/auth0-and-asp-net-core-mvc-net-6-0-tutorial-ef3a082ae415. I am using Visual Studio Dev tunnels to test but I am always getting a below error instead of seeing the login or signup page.

InvalidOperationException: IDX20803: Unable to obtain configuration from:  https://<mydomain>-dev.auth0.com/.well-known/openid-configuration . Will retry at  2/21/2024 10:39:46 PM +00:00 . Exception:  System.IO.IOException: IDX20804: Unable to retrieve document from:  [PII of type  System.String  is hidden. For more details, see https://aka.ms/IdentityModel/PII.] .

我不敢肯定什么可能是个问题,但真的会热心找到解决办法。

非常感谢。

以下为错误的筛选:

“enterography

问题回答

I could reproduced this error when filled appsettings with wrong domain.
enter image description here

So double check the Auth0 dashboard of the app domain. enter image description here
if it is same as appsettings
enter image description here

看来“-dev.auth0.com”不是一个正确的格式。





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签