Firebase signInWithCustomToken自定义声明仅在emulator中不起作用
我正在使用firebase设置firebase身份验证系统。因为我希望它是用户名和密码,所以我需要自己做 工作流程如下:Firebase signInWithCustomToken自定义声明仅在emulator中不起作用,firebase,authentication,google-cloud-firestore,firebase-authentication,jwt,Firebase,Authentication,Google Cloud Firestore,Firebase Authentication,Jwt,我正在使用firebase设置firebase身份验证系统。因为我希望它是用户名和密码,所以我需要自己做 工作流程如下: 云函数获取用户名和密码 它从firestore获得相应的电子邮件 它使用signInWithEmailAndPassword()登录并获取用户数据 它使用用户uid和我需要的数据创建CustomToken() 它将令牌返回到webclient Webclient将signInWithCustomToken()与令牌一起使用 onAuthStateChanged回调从用户数据获
谢谢您可能会成功地在Github回购协议上为