TheOfficialMoss
TheOfficialMoss

Reputation: 21

Facebook OAuth “The domain of this URL isn't included in the app's domain” with localhost:3000

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

Upvotes: 1

Views: 1049

Answers (2)

lacostenycoder
lacostenycoder

Reputation: 11226

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

Upvotes: 1

TheOfficialMoss
TheOfficialMoss

Reputation: 21

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.

Upvotes: 0

Related Questions