【发布时间】:2014-12-05 19:07:03
【问题描述】:
我正在使用 oauth2orize 和护照在 nodejs 中创建一个 API,但是当我请求令牌时,client_id 参数未定义。
Oauth2orize:
server.exchange(oauth2orize.exchange.password(function (client, username, password, scope, callback) {
console.log(client); // This is undefined
帖子:
grant_type: password,
client: id_client, // I tried with client_id, clientId, id...
username: username,
password: password
为什么客户端参数未定义?
非常感谢
【问题讨论】:
标签: node.js oauth2orize