[英]Firebase Google authentication error in ionic3
授權
signInWithGoogle(): firebase.Promise<any> {
return this.afAuth.auth.signInWithRedirect(new firebase.auth.GoogleAuthProvider());}
登錄名
loginGoogle() {
this.authData.signInWithGoogle().then(() => {
this.navCtrl.push(TabsPage);
}, error => {
this.presentToast("Invalid user details");
});}
選擇並從列表中進行身份驗證時,打開Google帳戶選擇器,然后在移動設備上順利運行的應用會顯示一條消息
未為當前項目注冊移動應用程序標識符
消息顯示:
請幫我解決這個問題。 謝謝!
我遇到了同樣的問題,並且能夠通過更新我的小部件ID(在config.xml文件中,以匹配Firebase控制台中的應用ID)來解決此問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.