-
0 votesanswersviews
Cloud Endpoints Firebase Admin SDK:通过FirebaseUser令牌对用户进行身份验证
我使用谷歌 Cloud endpoints (版本1,使用android studio)为我的Android应用程序构建了一个移动后端 . 我希望通过电子邮件/密码验证我的用户,因此我使用Firebase身份验证来执行此操作 . Firebase身份验证sdk允许我在客户端(在android中)获取每个用户的令牌,而firebase管理员sdk允许我检查后端令牌的有效性 . 我知道在 Clou... -
3 votesanswersviews
是否可以使用Firebase Auth来保护我的Google Cloud Endpoints API?
我计划使用Google Cloud endpoints 从我的GAE应用中制作API . 我想让这个API可用于第三个开发人员,以便他们可以在我的 endpoints 上发出一些请求 . 但是,我想保护所有这些并限制只访问API的某些部分,并且只允许一些操作 . 似乎firebase身份验证旨在管理对服务器的访问 . 但我无法理解我是否可以使用Firebase Server SDK保护我的Goo... -
11 votesanswersviews
适用于Firebase的 Cloud 功能的安全HTTP触发器
有没有办法在触发 Cloud 功能之前检查用户是否已获得firebase授权? (或在功能内) -
1 votesanswersviews
解码system.gserviceaccount.com证书以提取公钥
对于firebase生成令牌的jwt令牌签名验证,firebase文档要求使用以下链接: https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com 上面的链接给了我一个不是纯文本的Json,如何从中解码和提取公钥? 任何关于网络解码器的建议? -
4 votesanswersviews
使用Google App Engine中的Firebase进行Google EndPoint身份验证 - HTTP请求中不包含身份验证令牌
我用这个: 前端与Google App Engine(GAE)的javascript部分 <script src="https://www.gstatic.com/firebasejs/3.6.8/firebase.js"></script> <script> // Initialize Firebase var co... -
2 votesanswersviews
使用Firebase或Cloud Endpoints身份验证的移动应用程序与Google App Engine后端
我正在使用Google App Engine中的后端开发移动应用程序(Ionic) . 此应用需要使用Google身份验证和Google App Engine(Python)应用程序的安全交换进行登录 . 谷歌正在展示2种配置来实现这一目标 . 移动客户端< - > Firebase < - > Google App Engine: 移动客户端< - >... -
0 votesanswersviews
身份验证问题:使用Firebase的Google Cloud endpoints
我们已在API中使用Google Cloud Endpoints实施Firebase Google身份验证 . 代码适用于我们项目的所有API . 但我们也在使用Picker API JavaScript库:https://developers.google.com/picker/docs/ . 因此,当我们从驱动器附加任何文档时,Picker API会再次提示Google登录,这不是通过Fire... -
3 votesanswersviews
Google Cloud Endpoints Firebase身份验证:未设置method_info
所以我正在运行Google提供的示例代码: package com.neat.backend; /** * An endpoint class we are exposing */ @Api( name = "myApi", version = "v1", namespace = @ApiNamespace... -
2 votesanswersviews
从Google智能助理应用程序验证Firebase实时数据库
我已经使用API.ai创建了一个Google智能助理应用 . 我想允许应用程序的用户能够在我的firebase实时数据库中进行身份验证 . 我已经设置了隐式帐户链接,当我测试应用程序时,我可以看到我的访问令牌 . 如何设置OAuth 2.0令牌交换 endpoints 以处理我的访问令牌 . 我已经设置了一个空的Firebase函数来处理令牌,但我不确定要放入什么 . 我的下一步认证是什么? 这是... -
0 votesanswersviews
在Google App Engine上解码Firebase idToken
我的firebase用户正在向我的API服务器发送请求 . 我正在使用Google Cloud Endpoints中的安全规则验证它们 . 我在Google App Engine上不使用管理员SDK来提取他们的用户ID . 通常,Google建议通过此代码 in their example Firebase Cloud Functions code 验证HTTPS请求的传入ID令牌: admin.... -
5 votesanswersviews
如何保护自己的服务器制作的http Cloud 功能?
我已经看到了一些关于如何保护经过身份验证的用户进行api调用的示例(Secure HTTP trigger for Cloud Functions for Firebase,How to protect firebase Cloud Function HTTP endpoint to allow only Firebase authenticated users?) . 但我的问题是我需要从我的服... -
1 votesanswersviews
使用react-native-router-flux将登录的Firebase用户重定向到主组件
每次应用启动时,我都会尝试将用户定向到主要组件 . 我使用react-native-router-flux作为我的导航包装器,Firebase作为后端,Redux作为状态管理库 . 这是问题所在 . 我在我的路由器组件中执行 firebase.auth().onAuthStateChanged() 以确定用户是否已登录 . 如果没有用户,则返回Login组件 . 如果有用户登录,则返回Main C... -
0 votesanswersviews
Ionic 2应用程序中的Firebase在IOS上延迟1分钟
在标准的Ionic 2应用程序中,firebase onAuthStatChanged只需1分钟即可在Ios上执行 . 它在浏览器上的毫秒内工作,但当部署到ios时,它总是需要一分钟 . const unsubscribe = firebase.auth().onAuthStateChanged((user) => { console.log(" onAuthS... -
0 votesanswersviews
Firebase:电子邮件验证和用户登录,以便能够访问该页面
我创建了一个表单“main.html#!/ register”,允许用户输入:firstname,lastname,email和login . 一旦所有输入的电子邮件验证都被发送,那么在验证电子邮件之前,他们无法访问“main.html#!/ success”页面 . The good news is :如果他们尝试从登录页面进入访问页面而未确认电子邮件,则他们将无法访问 . The bad ... -
18 votesanswersviews
使用多个JWT承载认证
是否有可能在ASP.NET Core 2中支持多个JWT令牌发行者?我想为外部服务提供API,我需要使用两个JWT令牌源 - Firebase和自定义JWT令牌发行者 . 在ASP.NET核心中,我可以为Bearer身份验证方案设置JWT身份验证,但仅限于一个权限: services .AddAuthentication(JwtBearerDefaults.Authenticat... -
1 votesanswersviews
Angular auth.guard no persisten auth
页面刷新后,身份验证似乎不会保留 . 每当我登录时,它都成功地重定向了我 . 但是,当我刷新时,再也无法访问 . 这是认证警卫 router import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { RouterModule, Route... -
5 votesanswersviews
已调用Angular ngrx Firebase OAuth操作,但效果不是
当我使用此效果注销时,我的oauth设置存在问题: @Effect() logout: Observable<Action> = this.actions.ofType(UserActions.LOGOUT) .switchMap(() => Observable.of(this.afAuth.auth.signOut())) .map(() => n... -
7 votesanswersviews
在Android上使用Firebase 3.0进行电子邮件验证
我知道我们可以使用Firebase Auth 3.0验证用户的电子邮件 . 我无法在Android上找到任何有关电子邮件验证的文档 . 我能够找到适用于iOS和网络的相同内容,但不适用于Android . 任何指向文档的链接都会有所帮助 . 从图像中可以清楚地看到,一旦用户登录,他就会在电子邮件中暗示他确认他的订阅 . 我订阅了自己并在 Auth 标签的 users 部分进行了验证,我可以看到我... -
0 votesanswersviews
使用临时密码进行Firebase电子邮件验证
我有一个运动队可以注册的React应用程序 . 一个团队有一个教练,教练应该能够通过电子邮件邀请他的团队成员 . 我已经通过教练通过设置临时密码的表单设置了团队成员的创建 我调用的表单的onSubmit auth.createUserWithEmailAndPassword(data['email'], generateRandomPassword()) .then(user... -
5 votesanswersviews
Firebase仅发送已过期的电子邮件验证链接
我在收到验证邮件后立即点击验证链接,但答案仍然是: 尝试再次验证您的电子邮件您的验证电子邮件已过期或链接已被使用的请求 发送验证邮件的当前代码如下所示,并在注册后立即运行 . firebase.auth().onAuthStateChanged(function(user) { user.sendEmailVerification(); }); 所需的firebase脚本包含如下: ... -
9 votesanswersviews
FirebaseUser的 Profiles 未更新
我在Android上使用Firebase Auth . 我的登录流程正常,但我无法立即更新 username & profileUrl . public void test() { String username = "test username"; Uri avatarUri = Uri.parse("http://www.pixelstalk.n... -
0 votesanswersviews
Firebase在电子邮件验证之前阻止创建帐户
我正在开发一个包含用户登录电子邮件的Android项目 . 但问题是这个 . When I create test account it immediately appears in the firebase authentication section without verification . 但它也发送验证邮件 . 我想阻止这个 . 因为,例如,如果有人输入我的电子邮件地址,他们无法... -
1 votesanswersviews
Ionic firebase发送电子邮件验证
我正在尝试在用户注册时向用户发送电子邮件验证 . 用户被添加到firebase但不发送电子邮件 . 我将错误记录到控制台,它说 无法读取未定义的属性'sendEmailVerification' import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ioni... -
1 votesanswersviews
firebase:如何链接电子邮件验证和密码
我已经使用电子邮件和密码对用户进行身份验证,但我想在反应原生中使用firebase添加电子邮件链接验证 . 因此,用户必须提供他/她拥有的正确电子邮件地址和密码,如何链接或创建它 . 这是我的注册代码: export const signupUser = ({firstName, lastName, userName, email, password}) => async dispatch ... -
0 votesanswersviews
Firebase发送验证电子邮件不起作用
我想知道是否有其他人有同样的问题,我正在使用Firebase电子邮件和密码登录项目,一切正常,除了验证电子邮件,这里的代码有没有其他人有这个问题?它属于Google吗?或者是我做错了什么?因为signUp方法工作正常,用户按下Register按钮后会创建用户,但是从未调用过sendVerificationEmail方法 这是signUp方法,其中包含 sendVerificationEmail 方... -
5 votesanswersviews
Firebase - 验证 - 发现已注册但未验证电子邮件的用户
我've set-up a Firebase project which I am using for it'的用户认证模块 . 我也在使用Github的firebaseui-web项目 . 根据以下代码,我的登录重定向工作正常: // FirebaseUI config. var uiConfig = { 'signInSuccessUrl': 'MY_REDIRECT.html', '... -
0 votesanswersviews
Firebase处理电子邮件验证
我正在尝试在我的应用程序中验证Firebase帐户 . 我包含了发送验证邮件的功能,当用户点击邮件中的链接后,他在Firebase中的验证状态为真 . 我现在的问题是我无法接受我的离子2应用程序的更改 . 例如,我试图从firebase获取onAuthStateChange方法中的验证状态,并使用updateUser函数将其写入我的数据库: firebase.auth().onAuthStateC... -
3 votesanswersviews
Firebase电话身份验证需要多久验证一次?
截至5月17日,digits.com发布声明: http://get.digits.com/blog/introducing-firebase-phone-authentication 声明digits.com auth已经过时,firebase接管了 . Firebase说明是另一个:https://firebase.google.com/pricing/ 他们表示,每月多达10k手机验证将是免... -
0 votesanswersviews
如何在执行回调时处理订单?
我在angular2应用程序中使用firebase进行身份验证,我遇到了回调问题 . 这是我的代码段,用于标识用户是否已登录 . verifyLogin(url: string): boolean { var myUser = null; firebase.auth().onAuthStateChanged(function(user) { if (user) { myUser = u... -
0 votesanswersviews
实施FireBase Phone验证?
任何人都可以引导我完成如何实施Firebase手机验证,我已经按照这个糟糕的文件没有运气:https://firebase.google.com/docs/auth/ios/phone-auth 这项服务的官方文件很差,任何人都可以提供工作实例或引导我如何 . 注意:我知道如何通过cocoapods将Firebase实施到项目中,我还导入了Google服务Json文件 .