sahat / satellizer

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

Error coming in facebook authentication #1015

Open chiragandroid opened 7 years ago

chiragandroid commented 7 years ago

Hello, nice plugin for socail login in mobile apps. i am using ionic framework, i hve installed your library.and steps you described in description.

i am getting these error in facebook: "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 have created function its called when "login with facebook" button called: function authenticate(provider) { $auth.authenticate(provider); }; My code in app.js in .config is $authProvider.facebook({ clientId: 'xxxxxxxxxxxxxxx', responseType: 'token' });

i have also created developer account and App id. If needed.

chiragandroid commented 7 years ago

EDIT: okay, facebook sign up is working, but it sends me some token, but i want email and profile details. how to get that.