当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
try catch 对性能影响
接口设计
4.字符流
软件测试面试常见问题及答案(发散思维、接口、性能、概念、)
Domestic with Google earth software, see the download 19th level high-resolution satellite images so easy!
软件测试分析流程及输出项包括哪些内容?
“摄像头用不了”+win8.1+DELL+外置摄像头+USB免驱的解决办法
Ontology Development Diary 03 - When debugging is in progress
MySQL event_single event_timed loop event
使用Protege4和CO-ODE工具构建OWL本体的实用指南-1.3版本(7.4 Annotation Properties-注释属性)
TypeScript Brief (1)
MVCC multi-version concurrency control
软件测试的流程规范有哪些?具体要怎么做?
Do you know the principles of test cases and how to write defect reports?
2.字节流
本体开发日记05-努力理解SWRL(Built-Ins)
本体开发日记05-努力理解SWRL(Usage Suggestions)
[Personal study summary] CRC verification principle and implementation
What are the basic concepts of performance testing?What knowledge do you need to master to perform performance testing?
列表