I am creating an AngularJs (1.6) application with a firebase database. The problem is this: when the user logs out, I get a lot of errors permission_denied.
If this may be helpful:
firebase.auth().signOut().then(function() {
$state.go('login');
}, function(error) {});
Is there any way to avoid this?
source
share