1
我使用oauth2orize和passport在nodejs中创建了一个API,但是当我询问令牌时,client_id参数未定义。client_id grant_type = password(oauth2orize)undefinded
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
为什么客户端参数是不确定的?
非常感谢