您好,我想从 Firebase OAuth 响应中获取配置文件 Url,目前 Firebase 提供了有关配置文件的信息:
displayName, email, photoURL, uid
你知道它是否可能吗?
(我使用无服务器项目)
您好,我想从 Firebase OAuth 响应中获取配置文件 Url,目前 Firebase 提供了有关配置文件的信息:
displayName, email, photoURL, uid
你知道它是否可能吗?
(我使用无服务器项目)
当登录尝试解决时,您将获得其他用户信息:
firebase.auth().signInWithPopup(new firebase.auth.TwitterAuthProvider())
.then(function(userCredential) {
// All additional user info is available here.
console.log(userCredential.additionalUserInfo.profile);
})
.catch(function(error) {
// Error occurred.
});
有关这方面的更多信息,请查看firebase.auth.UserCredential
。