当前位置:网站首页>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
边栏推荐
- Do you know the principles of test cases and how to write defect reports?
- makefile学习-解决目标文件输出路径问题
- Redis Basics
- Summary of steps and methods for installing and uninstalling test cases that you must read
- 软件测试流程包括哪些内容?测试方法有哪些?
- 本体开发日记05-努力理解SWRL(Built-Ins)
- 软件测试分析流程及输出项包括哪些内容?
- web测试之功能测试常用的方法有哪几种?有什么要点要注意?
- 6.Map interface and implementation class
- Jfinal loading configuration file principle
猜你喜欢
随机推荐
本体开发日记01-Jena配置环境变量
电脑硬件基础知识科普
How much do you know about the mobile APP testing process specifications and methods?
The div simulates the textarea text box, the height of the input text is adaptive, and the word count and limit are implemented
Do you know the principles of test cases and how to write defect reports?
一个项目的整体测试流程有哪几个阶段?测试方法有哪些?
Ontology Development Diary 01-Jena Configuration Environment Variables
.ts 音频文件转换成 .mp3 文件
Ontology development diary 04 - to try to understand some aspects of protege
列表
Ontology Development Diary 03-Understanding Code
map去重代码实现
5.转换流
2.线程创建
命令行查询数据库
Ontology Development Diary 05-Strive to Understand SWRL (Part 2)
Another implementation of lateral view explode
[Pytorch] Install mish_cuda
Ontology development diary 02 - simple sparql query
JS报错-Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on...






