Facebook login “given URL not allowed by application configuration”

后端 未结 6 980
猫巷女王i
猫巷女王i 2020-11-29 01:05

I\'ve added facebook login to my site. However, when I click the button, I get a red box that says:

Invalid Argument

Given URL is not allowed by the Applic         


        
6条回答
  •  有刺的猬
    2020-11-29 01:44

    I kept getting this error, when using wildcard subdomains with my app. I had the site url set to: http://myapp.com and app domain also to http://myapp.com, and also the same value for the Valid OAuth redirect URIs in the advanced tab of the settings app. I tried different combinations but only setting the http://subdomain.myapp.com as the redirect value worked, of course only for that subdomain.

    The solution was to empty the redirect fields, leave it blank, that worked! ;)

提交回复
热议问题