1

Trying to create a basic login authentication system via OmniAuth-Facebook and Ruby that uses http ://localhost:3000/. Already implemented this (http:// localhost:3000/ into Site URL and Valid OAuth redirect URIs on FacebookDev.

enter image description here

BlackBeard
  • 10,246
  • 7
  • 52
  • 62
  • What is the error message you are getting? Hard to help without seeing at least error message and perhaps some code. – lacostenycoder Oct 18 '17 at 09:56
  • "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." - This is the error – TheOfficialMoss Oct 18 '17 at 10:12

2 Answers2

1

It might not like localhost. Can you try to use something like http://myapp.dev and forward that domain in your etc/hosts file? Assuming your on *nix system add a line:

127.0.0.1   myapp.dev

then in the fb app settings use:

http://myapp.dev

But the app name should match your facebook app name.

Also have a look here: Facebook App: localhost no longer works as app domain

lacostenycoder
  • 10,623
  • 4
  • 31
  • 48
0

To solve ensure that Use Strict Mode for Redirect URIs is set to No.

This is found in the Facebook Login section of the developer page.