Trello API访问仅适用于一个人

Trello API access works for only one person

本文关键字:适用于 一个人 访问 API Trello      更新时间:2023-09-26

我正在制作一个非常简单的应用程序,该应用程序链接到Trello API,用于在某个列表中的卡中执行Elo排名。应用程序在这里:

http://ranker.teleport.ninja/

我使用的是Trello:提供的简单授权脚本

Trello.authorize({
  type: "popup",
  name: "Elo ranker",
  scope: {
    read: true,
    write: true },
  expiration: "never",
  authenticationSuccess,
  authenticationFailure
});

现在,该应用程序对我自己有效,但当其他人尝试使用它时,他们会收到以下错误消息:

加载资源失败:服务器响应状态为401(OK)

即使他们是可以访问相关董事会的用户。authenticationSuccess和authenticationFailure都不会被调用。我假设这与我将pas参数传递给Trello的client.js的密钥有关,但我不知道该怎么办。

非常感谢您的帮助!

我从不使用trello Api,但请您按照以下步骤操作:https://developers.trello.com/get-started#connect