auth/operation-not-allowed當我啟用帳戶創建并擁有正確的 api 憑據時,可能的原因是什么,使用
import {
getAuth,
createUserWithEmailAndPassword,
updateEmail,
User,
signInWithEmailAndPassword,
} from "firebase/auth";
.
.
const user = await createUserWithEmailAndPassword(auth, email, password);
我也在 firebase 控制臺中啟用了對 auth 方法的操作
uj5u.com熱心網友回復:
如檔案中所示,auth/operation-not-allowed錯誤代碼表示“為您的 Firebase 專案禁用了提供的登錄提供程式”。
您應該仔細檢查您是否已正確激活電子郵件/密碼登錄提供商。
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/465473.html
標籤:javascript 火力基地 firebase 身份验证
上一篇:按下按鈕時HTML文本未更改
