• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Facebook Social Authentication: Can't Load URL

Scheduled Pinned Locked Moved Solved Technical Support
7 Posts 3 Posters 2.3k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    H7
    wrote on last edited by H7
    #1

    Facebook auth gives the error:

    Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.
    

    Tried everything, with several apps, App Domains is set to community.h7.org and h7.org (both included) still no luck with FB. Did anyone have this issue before, any solution? Thanks!

    0_1517108293779_Screenshot 2018-01-27 21.55.21.png

    1 Reply Last reply
    0
  • julianJ Online
    julianJ Online
    julian GNU/Linux
    wrote on last edited by
    #2

    What the url in the address bar when that error occurs?

    What is the url value in your config.json?

    H 1 Reply Last reply
    0
  • H Offline
    H Offline
    H7
    replied to julian on last edited by H7
    #3

    @julian the URL in address bar is `http://community.h7.org/auth/facebook/callback/...

    https://www.facebook.com/dialog/oauth?response_type=code&redirect_uri=http%3A%2F%2Fcommunity.h7.org%2Fauth%2Ffacebook%2Fcallback&scope=email%2C%20user_friends&client_id=1735736033177665

    and here is the relevant part of config.json:

    {
        "url": "http://community.h7.org",
        "port": 4567, 
        ...
    }
    

    *tried with HTTPS as well, same result

    1 Reply Last reply
    0
  • julianJ Online
    julianJ Online
    julian GNU/Linux
    wrote on last edited by
    #4

    Honestly I don't know then -- it all seems to be set up correctly. Facebook is sometimes really weird with how it needs things configured.

    I just wish there was someone you could reach out to on Facebook 😕

    App ID and secret set in SSO plugin?

    H 2 Replies Last reply
    0
  • H Offline
    H Offline
    H7
    replied to julian on last edited by
    #5

    @julian yes, all seems good. I had the same issue before with a Flash (AIR), an Android app and a React-based web-app, always the same problem and yet I forgot. I’ll figure it out and post the solution here (hopefully). Thanks anyway!

    1 Reply Last reply
    0
  • H Offline
    H Offline
    H7
    replied to julian on last edited by
    #6

    @julian the solution was enabling Embedded Browser OAuth Login in Facebook Login Settings

    1 Reply Last reply
    2
  • João KrabbeJ Offline
    João KrabbeJ Offline
    João Krabbe
    wrote on last edited by
    #7

    Hey @Julian
    Maybe you could post the config on the README.md of the github project.
    It will be more effective.

    Only a suggestion.
    Thanks for the plugin. 👍

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development