webauthn依赖方ID不是的可注册域后缀,也不等于当前的



尝试使用webauthn进行身份验证过程,结果出现以下错误:

Uncaught (in promise) DOMException: The relying party ID is not a registrable domain suffix of, nor equal to the current domain

我将当前域配置为RP,但仍然出现此错误。有办法调试它吗?

您的RP ID和来源是什么?请查看此处的要求:https://www.w3.org/TR/webauthn-2/#rp-id

最新更新