我第一次尝试使用 Auth0,并从此处引用了示例代码来创建 Asp.net MVC 示例应用程序。 https://github.com/auth0-samples/auth0-aspnetcore-mvc-samples/tree/master/Quickstart/Sample
我已经创建了应用程序,并设置了 Auth0 起始页上提到的所有设置以及此处提到的指南 https://medium.com/@gnerva/auth0-and-asp-net-core-mvc- net-6-0-tutorial-ef3a082ae415。 我正在使用 Visual Studio Dev 隧道进行测试,但总是收到以下错误,而不是看到登录或注册页面。
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.]'.
我不确定可能是什么问题,但真的很想获得解决问题的见解。
非常感谢。
以下是错误截图: