我在一個電子郵件地址和密碼的用戶使用的火力點認證登錄。我也啓用電子郵件/密碼&我使用了firebase託管。火力地堡驗證錯誤代碼:AUTH/APP-未授權
這表明
錯誤代碼>>認證/應用程序而不是授權
按摩>>這個程序,由域確定它託管在哪裏,是不是授權使用火力地堡認證與所提供的API鍵。在Google API控制檯中查看您的關鍵配置。
firebase.auth().signInWithEmailAndPassword($('#username').val(), $('#password').val())
.then(
)
.catch(function (error) {
var errorCode = error.code;
var errorMessage = error.message;
console.log(">>>"+errorCode+">>"+errorMessage);
});
您使用域名? Firebase託管? – aofdev
**在Google API控制檯中查看您的關鍵配置**消息非常清晰! –