当前位置:网站首页>Firebase+Facebook 授权 web 登录提示域名验证或跳转错误
Firebase+Facebook 授权 web 登录提示域名验证或跳转错误
2022-08-09 09:27:00 【草明】
前提是 Firebase + Facebook 授权登录的已经配置好了, 以下主要是解决在 web app 中使用时遇到的域名和跳转错误的问题
1. 在 Firebase 里面设置
https://console.firebase.google.com/
Authentication --> Sign-in method --> Authorized domains --> Add domain
添加域名, 例如 test.gz.com
2. 在 Google Cloud Platform里面设置
https://console.cloud.google.com/apis/credentials
API&Services --> Credentials --> API Keys --> Browser key (auto created by Firebase)
Application restrictions选择 `HTTP referrers(web sites).Website restrictions中添加域名
3. 在 Facebook
https://developers.facebook.com/apps/?show_reminder=true
Fcebook Login --> Settings
把 web 授权的都勾上
Valid OAuth Redirect URIs:
https://xxxxxxxx.firebaseapp.com/__/auth/handler
在 Firebase 中 Authentication --> Sign-in method --> Authorized domains 可以找到对应的域名
Settings --> Advanced --> Domain Manager
边栏推荐
猜你喜欢
随机推荐
[Personal study summary] CRC verification principle and implementation
条件和递归
如何用数组实现环形队列
单元测试是什么?怎么写?主要测试什么?
seata处理分布式事务
一篇文章让你彻底搞懂关于性能测试常见术语的定义
Lecture 4 SVN
Domestic with Google earth software, see the download 19th level high-resolution satellite images so easy!
Understanding of PID control motor output as motor PWM duty cycle input
AES/ECB/PKCS5Padding encryption and decryption
A Practical Guide to Building OWL Ontologies using Protege4 and CO-ODE Tools - Version 1.3 (7.4 Annotation Properties - Annotation Properties)
MySQL Checking and Filling Leaks (5) Unfamiliar Knowledge Points
性能测试报告包括哪些内容?模板范文哪里找?看这里
软件测试的流程规范有哪些?具体要怎么做?
接口性能测试方案设计方法有哪些?要怎么去写?
手机APP测试流程规范和方法你知道多少?
7.FileFilter接口
Do you know the principles of test cases and how to write defect reports?
本体开发日记03-排错进行时
有返回值的函数








