@njho wrote:
How can you implement a Facebook logout that also log's the person out of the OAuth provider?
I am currently using AngularFire's
$authWithOAuthPopup
method.The main functionality wanted is the ability for someone else to login to the app. I'm surprised there aren't more questions around this on the web. What are possible work arounds, or methods?
Current behavior: Log user out > click login > uses previous FB session's information to login.
Wanted behavior: Log user out > click login > asks for user's FB credentials > login.$scope.logout = function () { delete $localStorage.storageAuth; Auth.$unauth(); $state.go('user.signin'); };
Posts: 2
Participants: 2