草庐IT

Authentication

全部标签

android - Flutter:生成释放 SHA1 指纹

我已经用flutter完成了我的应用程序,但在Release模式下,firebase身份验证不起作用。有人告诉我必须为Release模式生成SHA1,但我不知道如何生成。它在Debug模式下工作,但在Release模式下不起作用。我如何生成它,或者我们有其他解决方案吗? 最佳答案 您需要访问Play商店中的应用程序。在ReleaseManagement>Appsigning部分,您可以获得SHA1。复制,放入Firebase配置,下载google-services.json并放入您的应用程序文件夹。

firebase - Flutter Phone认证报错原始例子

亲爱的,我正在开发这个电话认证的例子(原文):https://github.com/flutter/plugins/tree/master/packages/firebase_auth/example当然,我添加了.json和正确的依赖项(我认为,因为firebase的其他补充工作正常)。但是,我得到了这部分代码:Future_testSignInWithGoogle()async{finalGoogleSignInAccountgoogleUser=await_googleSignIn.signIn();finalGoogleSignInAuthenticationgoogleAut

firebase - Flutter Phone认证报错原始例子

亲爱的,我正在开发这个电话认证的例子(原文):https://github.com/flutter/plugins/tree/master/packages/firebase_auth/example当然,我添加了.json和正确的依赖项(我认为,因为firebase的其他补充工作正常)。但是,我得到了这部分代码:Future_testSignInWithGoogle()async{finalGoogleSignInAccountgoogleUser=await_googleSignIn.signIn();finalGoogleSignInAuthenticationgoogleAut

android - 根据条款在 Flutter 中创建 Sign-in-with-Google 按钮

我想在我的Flutter应用中添加一个“使用Google登录”按钮。此按钮应符合terms谷歌。我的问题是,我创建的按钮看起来非常糟糕。我使用了Google在其网站上提供的图片,但我不知道我是否正确使用了按钮代码。Widget_createLoginButtonGoogle(){returnnewExpanded(child:newContainer(margin:EdgeInsets.fromLTRB(30.0,5.0,30.0,5.0),child:newRaisedButton(color:constColor(0xFF4285F4),shape:_createButtonBor

android - 根据条款在 Flutter 中创建 Sign-in-with-Google 按钮

我想在我的Flutter应用中添加一个“使用Google登录”按钮。此按钮应符合terms谷歌。我的问题是,我创建的按钮看起来非常糟糕。我使用了Google在其网站上提供的图片,但我不知道我是否正确使用了按钮代码。Widget_createLoginButtonGoogle(){returnnewExpanded(child:newContainer(margin:EdgeInsets.fromLTRB(30.0,5.0,30.0,5.0),child:newRaisedButton(color:constColor(0xFF4285F4),shape:_createButtonBor

android - Flutter 谷歌登录为空

调试了好几个小时都没有结果,我放弃了。我一直在通过创建一个连接到Firebase实时数据库的应用程序来学习Flutter,该数据库在Debug模式下工作,并通过adb进行本地安装。但是每当我(或我的任何friend)通过adb以外的东西(例如包管理器或其他东西)安装包时,我都会遇到问题。首先,这是我的pubspec.yaml的相关部分:dependencies:google_sign_in:3.2.1firebase_auth:0.5.20firebase_core:0.2.5在我的有状态小部件的开头:finalFirebaseAuth_fAuth=FirebaseAuth.insta

android - Flutter 谷歌登录为空

调试了好几个小时都没有结果,我放弃了。我一直在通过创建一个连接到Firebase实时数据库的应用程序来学习Flutter,该数据库在Debug模式下工作,并通过adb进行本地安装。但是每当我(或我的任何friend)通过adb以外的东西(例如包管理器或其他东西)安装包时,我都会遇到问题。首先,这是我的pubspec.yaml的相关部分:dependencies:google_sign_in:3.2.1firebase_auth:0.5.20firebase_core:0.2.5在我的有状态小部件的开头:finalFirebaseAuth_fAuth=FirebaseAuth.insta

【zookeeper】问题解决 Authentication is not valid : /hbase/tokenauth

前言最近在搭建Hbase服务时,服务无法启动,于是决定将hbase服务删除,在当删除zookeeper的/hbase节点时报错,报thenticationisnotvalid:/hbase/tokenauth。看到网上大部分的文章都是使用跳过ACL或者开启super模式这两种方式,于是比较好奇有没有第三种解,这里整理并记录一下。版本zookeeper3.4.8CDP7.1.7(同CDH)问题复现zookeeper-client-server`hostname`:2181rmr/hbaseAuthenticationisnotvalid:/hbase/tokenauth解决方案这里将三种方式都列

redis - Servicestack Authentication IsAuthenticated 始终为 false

您好,我正在尝试使用servicestack提供的OAuth身份验证plugins.Add(newAuthFeature(()=>newAuthUserSession(),newIAuthProvider[]{newBasicAuthProvider(),newLinkedInOAuth2Provider(newAppSettings()),newGoogleOAuth2Provider(newAppSettings())}));//UseRedisRepovaruserRepository=newRedisAuthRepository(redisClientsManager);con

redis - Servicestack Authentication IsAuthenticated 始终为 false

您好,我正在尝试使用servicestack提供的OAuth身份验证plugins.Add(newAuthFeature(()=>newAuthUserSession(),newIAuthProvider[]{newBasicAuthProvider(),newLinkedInOAuth2Provider(newAppSettings()),newGoogleOAuth2Provider(newAppSettings())}));//UseRedisRepovaruserRepository=newRedisAuthRepository(redisClientsManager);con