sahat / satellizer

Token-based AngularJS Authentication
https://satellizer-sahat.rhcloud.com
MIT License
7.86k stars 1.13k forks source link

facebook authentication is not working with ionic emulate #743

Open 22Viig opened 8 years ago

22Viig commented 8 years ago

I am trying to use the ionic example app with the facebook authentication only, I just changed the clientId with mine, launched the node server with my FACEBOOK_SECRET and everything works fine with ionic serve. The problem is with 'ionic emulate ios' command, after clicking on the 'Sign in with Facebook' button, the popup is opened but the commonConfig.redirectUri = 'http://localhost/'; command is trying to open that unexisting link, and the popup remain open, with the followin error:

screen shot 2016-02-22 at 7 20 53 pm

sahat commented 8 years ago

@RickyGeek Check your other issue thread.

I think it is related to not having the Website platform with localhost/ as your Site URL.