【发布时间】:2016-03-29 16:08:55
【问题描述】:
我正在尝试演示 Trello API,但我遇到了身份验证过程的问题。
var ConnectToTrello = function () {
//console.log("Authenticating");
Trello.authorize({
type: 'popup',
name: 'Outlook Trello Add-In',
scope: { read: true, write: true, account: true },
success: authenticationSuccess,
error: authenticationError
});};
这会打开一个弹出窗口,我可以在其中进行身份验证,然后我被重定向(在弹出窗口中)到 https://trello.com/1/token/approve 并且没有任何反应。弹出窗口没有关闭。
任何帮助将不胜感激。
【问题讨论】:
-
authenticationSuccess和authenticationError的正文是什么? -
var authenticationSuccess = function (response) { console.log(response); $('#btnAuthenticate').hide(); } var authenticationError = function (error) { console.log(error); }
-
我添加了源代码here
-
@Web_Designer 你最终解决了这个问题吗?
-
我也面临同样的问题。成功了吗?
标签: javascript microsoft-edge trello