我正在使用 satellizer 使用 fb 和 google 实现登录。在我的控制器中,我编写了代码。:
$scope.authenticate = function(provider) {
$auth.authenticate(provider).then(function (resp) {
console.log(resp)
});
};
在回复中,我得到以下日期。 期待一个名为“token”的令牌
对象 {data: "", status: 200, config: Object, statusText: "OK"} config: Object data: "Header" headers: (name) status: 200 statusText: "OK" __proto__: Object
我不认为回应是正确的或下一步应该是什么。