Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook login error on ionic 1 app: "URL isn't included in the app's domains" #81

Open
cubicoit opened this issue May 28, 2019 · 0 comments

Comments

@cubicoit
Copy link

I am building an ionic 1 app that needs a oath login via Facebook. I installed and configured the plugin Ionic Cordova oAuth. I created a Facebook app to deal with the oauth process. Everything works when the Facebook app runs in development mode yet as soon as I try to test it after publishing it I get this error after the oauth login request on my app:

"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"

I tried to add the suggested callback url on Facebooks app configuration sections for the oAuth component but it is refused by it stating that the localhost domain is added automatically while the app is in development mode. The url is "http://localhost/callback". How about the app going from development mode to live?

Has anybody faced the same issue? How can it be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant