获取无法解析端点。请检查网络并重试。使用 MSALv2.js

问题描述 投票:0回答:0

我正在使用 MSALv2.js 并且我的应用程序总是加载,但最近我开始有时在调用 aquiretoken 方法时出现此错误。它不会一直发生,只是有时会发生。有谁知道这是为什么以及如何解决?

{
    "errorCode": "endpoints_resolution_error",
    "errorMessage": "Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",
    "subError": "",
    "name": "ClientAuthError"
}
javascript msal
© www.soinside.com 2019 - 2024. All rights reserved.