社交媒体模块登录在cakepp中不起作用



我正试图用我的facebook登录,但我收到了以下错误。我如何解决这个

URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs.

您不访问网页,而是使用facebook API,他们有一个开放的API,您可以在那里获得API密钥,这样facebook就可以验证您的应用程序,而不会阻止您的请求。

https://developers.facebook.com/

根据您的使用情况,它们有几个开放的端点,您可以访问这些端点来获取关于用户、应用程序等的不同数据。对于安全措施,使用开放的API从特定网站获取数据始终被认为是最佳做法。

最新更新