未处理的拒绝(错误):未授权使用 auth0

问题描述 投票:0回答:0
Unhandled Rejection (Error): Unauthorized

./node_modules/@auth0/auth0-spa-js/dist/auth0-spa-js.production.esm.js/

  293 |   ok
  294 | } = response;
  295 | 
> 296 | if (!ok) {
      | ^  297 |   const errorMessage =
  298 |     error_description || `HTTP error. Unable to fetch ${url}`;
  299 |   const e = <any>new Error(errorMessage);

关注这个项目:https://github.com/Prithwish10/Aucteria

我已经尝试仔细检查 pem 文件,测试 aws 中的端点(它在那里工作)并发送 curl 请求(它无法连接到 api v2 或其他东西)并且还使用 ngrok 隧道,但它没有任何区别

奇怪的是,它实际上只工作了一次,但在我真正登录后就停止工作了。

javascript node.js amazon-web-services curl auth0
© www.soinside.com 2019 - 2024. All rights reserved.