如何配置通过火力/离子Facebook登录 [英] How to configure Facebook login via firebase/ionic

查看:269
本文介绍了如何配置通过火力/离子Facebook登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我不进一步在火力地堡Facebook的身份验证得到任何

Hello I don't get any further with the Facebook authentication in Firebase.

下OAuth的重定向授权域在火力地堡我设置这3个领域

Under Authorized Domains for OAuth Redirects in Firebase I've set this 3 domains


  1. 本地主机

  2. 127.0.0.1

  3. < -My火力地堡URL - >

和下网站的url Facebook应用程序设置,我已经把我的火力网址。我也试图与配置的主机与当地域文件的方法。

And under the Facebook App settings in site-url I have set my firebase url. Also I tried with the method to configure the hosts file with a local domain.

但总是,如果我想登录到Facebook上与我的web应用程序我得到这个消息:该应用程序的设置不允许指定的URL:一个或多个URL不会在设置允许

But always if I want to login to Facebook with my webapp I get this message: The app's settings do not allow the specified URL: One or more URLS are not allowed in the settings.

是否有人在这里可以告诉我怎样才能解决这个问题?我已经试了一整天。

Does anybody here can tell me how I can fix this? I've already tried all day.

推荐答案

在Facebook应用程序设置,请转到高级标签下的客户端的OAuth设置输入网址是像 https://auth.firebase.com/v2/yourFirebaseAppName/auth/facebook/callback

In Facebook app settings go to the Advanced tab and under Client OAuth Settings enter the URL that is something like https://auth.firebase.com/v2/yourFirebaseAppName/auth/facebook/callback.

请注意,高级标签,而不是主要的基本标签。

Please note the Advanced tab, not the main Basic tab.

随着你在你的火力地堡帐户做(他们是直线前进,如果你遵循的官方教程),你不必做任何事情。

Along with the settings that you have to do in your Firebase account (and they are straight forward if you've followed the official tutorial) you don't have to do anything else.

这篇关于如何配置通过火力/离子Facebook登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆