Given URL is not allowed by the Application configuration Facebook application error

前端 未结 16 2175
广开言路
广开言路 2020-11-28 05:34

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App\'s settings. It must match the Website URL or Canvas URL,

16条回答
  •  离开以前
    2020-11-28 06:08

    I chased my tail on this issue for hours. My coder and I could login with FB without a problem but my wife couldn't. She would get this topic's subject message. I tried every setting and URL that I could think of for my Lavarel app.

    My issue was that my wife was signing in from:

    http://www and we were using http://  
    

    A short trip to CPanel and a redirect fixed that. Hope this helps someone!

    For Lavarel these FB app settings worked for me:

    Settings/Basic - App Domain: mydomain.com ,  Site URL: http://mydomain.com/login.
    
    Settings/Advanced - Client OAuth Login: Yes. 
    
    Settings/Advanced - OAuth redirect URIs: http://mydomain.com , http://mydomain.com/login.
    
    App Details/App Center listed platforms = No.  I'm only using the login for now.
    

提交回复
热议问题