草庐IT

login_auth

全部标签

authentication - 即使有测试号码,Flutter firebase auth 电话认证也会失败

我正在使用firebase_auth包在我的flutter应用中启用电话身份验证。我按照firebase-flutter教程设置了firebase项目和一个支持android的应用程序。然后我按照firebase_auth示例代码创建了我的登录页面,但是我收到了示例中提供的示例编号/代码的以下错误PlatformException(error,CannotcreatePhoneAuthCredentialwithouteitherverificationProof,sessionInfo,ortempraryproof.,null)当我尝试verifyPhoneNumber时,下面的文

authentication - 即使有测试号码,Flutter firebase auth 电话认证也会失败

我正在使用firebase_auth包在我的flutter应用中启用电话身份验证。我按照firebase-flutter教程设置了firebase项目和一个支持android的应用程序。然后我按照firebase_auth示例代码创建了我的登录页面,但是我收到了示例中提供的示例编号/代码的以下错误PlatformException(error,CannotcreatePhoneAuthCredentialwithouteitherverificationProof,sessionInfo,ortempraryproof.,null)当我尝试verifyPhoneNumber时,下面的文

服务报错nacos.client.worker login falied code 403 unknow user ——rancher

1、引起后台服务报错的原因(虽然有报错,但是服务都是正常运行的):nacos原有的账号密码都是nacos,当我修改了nacos用户的密码时,那些注册到nacos中的后台服务都出现了loginfaliedcode403unknowuser的报错,如下图:2、经排查发现,后台服务的代码配置了nacos的相关配置,配置的是默认密码,如下图:因此修改了nacos的默认密码后,在代码中配置的NACOS_PASSWORD密码与实际nacos密码不相符,就导致出现了loginfaliedcode403unknowuser的报错,但是虽说有报错,但是服务实际是正常运行的,因为服务实际连接nacos使用的密码是

firebase - MissingPluginException(未在 channel plugins.flutter.io/firebase_auth 上找到方法 signInWithCredential 的实现)

我在使用firebase登录功能时遇到了这个问题,我不知道如何解决。请帮忙,谢谢。我的登录函数代码如下:FuturesignIn()async{finalformState=_formKey.currentState;if(formState.validate()){//TODOlogintofirebaseformState.save();try{FirebaseUseruser=awaitFirebaseAuth.instance.signInWithEmailAndPassword(email:_email,password:_password);Navigator.push(c

firebase - MissingPluginException(未在 channel plugins.flutter.io/firebase_auth 上找到方法 signInWithCredential 的实现)

我在使用firebase登录功能时遇到了这个问题,我不知道如何解决。请帮忙,谢谢。我的登录函数代码如下:FuturesignIn()async{finalformState=_formKey.currentState;if(formState.validate()){//TODOlogintofirebaseformState.save();try{FirebaseUseruser=awaitFirebaseAuth.instance.signInWithEmailAndPassword(email:_email,password:_password);Navigator.push(c

google-api - 错误 : Not found: 'dart:html' when using googleapis_auth dart team package with flutter

使用时googleapis_auth|DartPackagegoogleapis|DartPackage使用此代码通过Flutter访问GoogleApiimport'dart:convert';import'dart:io';import'package:googleapis_auth/auth.dart';import'package:googleapis_auth/auth_browser.dart';import'package:googleapis_auth/auth_io.dart';import'package:googleapis/androidpublisher/v3

google-api - 错误 : Not found: 'dart:html' when using googleapis_auth dart team package with flutter

使用时googleapis_auth|DartPackagegoogleapis|DartPackage使用此代码通过Flutter访问GoogleApiimport'dart:convert';import'dart:io';import'package:googleapis_auth/auth.dart';import'package:googleapis_auth/auth_browser.dart';import'package:googleapis_auth/auth_io.dart';import'package:googleapis/androidpublisher/v3

flutter - Firebase 身份验证错误 : Undefined name 'auth'

我想通过使用每个用户的UID来访问我的firestore数据库,如下所示:returnnewStreamBuilder(stream:Firestore.instance.collection('users').document(uid).snapshots(),builder:(context,snapshot){if(!snapshot.hasData){returnnewText("Loading");}varuserDocument=snapshot.data;获取UID:finalFirebaseUseruser=auth.currentUser().then((Fireba

flutter - Firebase 身份验证错误 : Undefined name 'auth'

我想通过使用每个用户的UID来访问我的firestore数据库,如下所示:returnnewStreamBuilder(stream:Firestore.instance.collection('users').document(uid).snapshots(),builder:(context,snapshot){if(!snapshot.hasData){returnnewText("Loading");}varuserDocument=snapshot.data;获取UID:finalFirebaseUseruser=auth.currentUser().then((Fireba

flutter - 如何使用 Firebase Auth 的 signinWithFacebook() 方法

'firebase_auth'用于Flutter的包记录了如何使用signinWithGoogle()和signinAnonymously()并且两者都工作正常。自述文件中没有提到Facebook,但在查看代码时我看到有一个signinWithFacebook()那里的方法。有谁知道这是否已完成实现以及如何使用它? 最佳答案 我相信你需要将它与facebook_connect结合起来,然后你可以这样做:onPressed:_singInWithFacebook()....Future_singInWithFacebook()asyn