Auth0 种子项目错误
Auth0 seed project error
我是 Auth0 的新手,我想我先下载种子项目来检查它。我正在使用 .NET 核心。我下载了这个项目,但是当我 运行 它时,我得到一个错误:
SecurityTokenInvalidSignatureException: IDX10503: 签名验证失败。尝试过的键:...
这发生在我尝试登录之后和回调执行期间 (http://localhost:5000/signin-auth0)
有谁知道可能是什么问题?
谢谢
我收到了来自 Auth0 论坛的回复(谢谢 Nicolas Sabena)解决了这个问题:
The .Net Core seed projects are meant to work with the RS256 algorithm by default.
To change the algorithm, go to Clients | {Your client} | Settings, then click on the Show advanced settings link, and select the OAuth tab. In the JsonWebToken Signature Algorithm dropdown, select RS256.
切换到 RS256 后,一切正常。
我是 Auth0 的新手,我想我先下载种子项目来检查它。我正在使用 .NET 核心。我下载了这个项目,但是当我 运行 它时,我得到一个错误:
SecurityTokenInvalidSignatureException: IDX10503: 签名验证失败。尝试过的键:...
这发生在我尝试登录之后和回调执行期间 (http://localhost:5000/signin-auth0)
有谁知道可能是什么问题?
谢谢
我收到了来自 Auth0 论坛的回复(谢谢 Nicolas Sabena)解决了这个问题:
The .Net Core seed projects are meant to work with the RS256 algorithm by default. To change the algorithm, go to Clients | {Your client} | Settings, then click on the Show advanced settings link, and select the OAuth tab. In the JsonWebToken Signature Algorithm dropdown, select RS256.
切换到 RS256 后,一切正常。