nraboy / ng-cordova-facebook-example

Ionic Framework ngCordova Oauth Example for Facebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login does not work as facebook allows HTTPS only

nirvitarka opened this issue · comments

With a recent change for facebook apis,
Ref : https://developers.facebook.com/docs/facebook-login/security#https
Enforce HTTPS. This setting requires HTTPS for OAuth Redirects and pages getting access tokens with the JavaScript SDK. All new apps created as of March 2018 have this setting on by default and you should plan to migrate any existing apps to use only HTTPS URLs by March 2019.

I am trying to use this plugin in ionic cordova app, have setup app ids on facebook dashboard but the callback url now only takes HTTPS urls. Hence "http://localhost/callback" is not accepted.

The app, when I run on android device, shows "You are not logged in.." message.
Can anyone help?