Facebook login throws "Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed

前端 未结 10 3290
遥遥无期
遥遥无期 2021-02-20 05:33

I know this question was already asked many times, but still It seems to throw this error altough I tried several url addresses.

I\'m trying to make facebook login throu

相关标签:
10条回答
  • 2021-02-20 06:10

    For the benefit of searchers, I had the same when creating a test version of a site.

    The answer was to go into the facebook site > Apps > My App > Settings > 'Advanced' tab and add the localhost address in the section titled 'Valid OAuth redirect URIs'.

    Note: The same style of work will be required for an xyz.azurewebsites.net domain as well as a .com when you are testing.

    0 讨论(0)
  • 2021-02-20 06:10

    you just need to also include the port number for your local host.

    0 讨论(0)
  • 2021-02-20 06:14

    Try this! These steps worked for my fb app hosted locally on http://localhost:3000/

    Once signed in to your app on developers.facebook.com/...

    1. Click Settings > Basic
    2. Leave the "App Domains" field blank.
    3. Click + Add Platform > Website
    4. Use http://localhost:3000/ for both "Site URL" and "Mobile Site URL" fields
    5. Click Save Changes

    FINALLY!

    0 讨论(0)
  • 2021-02-20 06:22

    you can give the url like this:

    1. https://developers.facebook.com/x/apps/662194763843967/settings/
    

    Add your dome at App Domains in app settings see don't use http://

    suppose your domain is

    http://localhost/abhinav/
    

    then write localhost/abhinav/

    1. click on add platform let say its a web app

    write your full site url at website text-box

    Site URL : http://localhost/abhinav/

    Below is the reference image where you can see what should you place at App Domains

    http://i.stack.imgur.com/qZVkk.png\

    0 讨论(0)
  • 2021-02-20 06:23

    So,there is some bug in Facebook and its APIs-

    There is currently a bug which will prevent Facebook Login for Windows Phone from working if you have any entries in the "Valid OAuth redirect URIs" field in the Advanced section of your app settings. This can be worked around by adding "https://m.facebook.com/dialog/return/ms" in this field.

    Try different links this one worked for me

    "http://www.facebook.com/"

    0 讨论(0)
  • 2021-02-20 06:24

    You will need to update your App Domains as well in the Facebook Application configuration module to proj.ruppin.ac.il (Image taken from referenced tutorial to show that there are 2 places to update when changing FB app login URL)

    enter image description here

    0 讨论(0)
提交回复
热议问题