在哪里设置 Facebook 应用程序的 Oauth 重定向 URI? [英] Where does one set the Oauth Redirect URI for Facebook apps?

查看:30
本文介绍了在哪里设置 Facebook 应用程序的 Oauth 重定向 URI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在设置 Google Firebase 以使用 Facebook 登录的说明中,我们被要求为 Facebook 设置 OAuth 重定向 URI(如下所示).

We are being asked to set the OAuth redirect URI for Facebook (as shown below) in the instructions to set up Google Firebase to use Facebook login.

我们点击了我们应用的每个菜单.它在哪里?可以称为不同的东西吗?

We clicked in every menu for our app. Where is it? Could it be called something different?

来自 Firebase 文档:

...确保您的 OAuth 重定向 URI(例如 my-app-12345.firebaseapp.com/__/auth/handler)在 Facebook for Developers 的 Facebook 应用设置页面中列为您的 OAuth 重定向 URI 之一网站中的产品设置 > Facebook 登录配置.

...make sure your OAuth redirect URI (e.g. my-app-12345.firebaseapp.com/__/auth/handler) is listed as one of your OAuth redirect URIs in your Facebook app's settings page on the Facebook for Developers site in the Product Settings > Facebook Login config.

推荐答案

我也很难找到这个设置.

I had a hard time finding this setting too.

如果您在 https://developers.facebook.com/ 上,您可以在右上角的个人资料图片旁边找到您的应用.选择该应用,您将进入该应用的设置.

If you are on https://developers.facebook.com/, you can find your apps listed in the top right, next to you profile picture. Selecting the app, will take you to the settings for that app.

https://developers.facebook.com/sa/apps/ 上的应用设置中,确保添加 Facebook 登录 产品.然后在客户端 OAuth 设置"下的有效 OAuth 重定向 URI"框中输入 URL.

In your app settings on https://developers.facebook.com/sa/apps/<my-app-id>, make sure that you add the Facebook Login product. Then under "Client OAuth Settings" enter the URL in the "Valid OAuth redirect URIs" box.

这篇关于在哪里设置 Facebook 应用程序的 Oauth 重定向 URI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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