I am currently using AngularFire's $authWithOAuthPopup
method. On Logout, the Firebase session is ended, but the OAuth persists (as per intended functionality). link
Link Explaining oAuth is separate workflow from app logout
However, if this happens, the $authWithOAuthPopup
does not allow for another user to input credentials on re-login.
Have people found success in implementing a solution which allows for someone else to login? How would someone allow for a new user to input new login credentials as opposed to automatically using the old information?
Current behavior: Log user out > click login > app 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');
};
Thanks :)