You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey i was following the tutorials and i implemented the Facebook login, the issue is when i did 'login with fb' it open my in app fb app and i gave permissions to app. Then it logged me in no issues.
Next i logged out of facebook app, i logged out of my app and when i tried logging in back it logs me in with previous account details. i tried removing facebook app and reinstalled my app, still when i clicked 'login with fb' it logs me in with previous account account details automatically.
i am using
ionic = 3.6.0
@ionic/cli-plugin-cordova = 1.5.0
@ionic/cli-plugin-ionic-angular = 1.4.0
code i understood that they are using "facebookConnectPlugin.login()" method to get the login credentials for "Accounts.callLoginMethod()" but the issue i see is no one is calling "facebookConnectPlugin.logout()" method anywhere in the package, so "facebookConnectPlugin" stays logged in all the time. When using "Meteor.logout()" we need to logout of "facebookConnectPlugin" also.
The text was updated successfully, but these errors were encountered:
hey i was following the tutorials and i implemented the Facebook login, the issue is when i did 'login with fb' it open my in app fb app and i gave permissions to app. Then it logged me in no issues.
Next i logged out of facebook app, i logged out of my app and when i tried logging in back it logs me in with previous account details. i tried removing facebook app and reinstalled my app, still when i clicked 'login with fb' it logs me in with previous account account details automatically.
i am using
ionic = 3.6.0
@ionic/cli-plugin-cordova = 1.5.0
@ionic/cli-plugin-ionic-angular = 1.4.0
here is the code
Login function
logout function
****update:
by having a look at
code i understood that they are using "facebookConnectPlugin.login()" method to get the login credentials for "Accounts.callLoginMethod()" but the issue i see is no one is calling "facebookConnectPlugin.logout()" method anywhere in the package, so "facebookConnectPlugin" stays logged in all the time. When using "Meteor.logout()" we need to logout of "facebookConnectPlugin" also.
The text was updated successfully, but these errors were encountered: