sirkitree / angular-directive.g-signin

:triangular_ruler: AngularJS Directive for Google Plus Sign-in Button
http://jeradbitner.com/angular-directive.g-signin/
148 stars 84 forks source link

Logout functionality #26

Closed saurabh-p closed 9 years ago

saurabh-p commented 10 years ago

How to create logout feature with this?

msama commented 9 years ago

+1 how do you sign out?

phw commented 9 years ago

Maybe this will help: https://developers.google.com/+/web/signin/sign-out

Abhivendra commented 8 years ago

Not working , please provide some more details.

batbayar-su commented 8 years ago

It is working gapi.auth.signOut()

cmichaelis commented 7 years ago

Alas, it doesn't work for me. gapi.auth.signOut is a valid function, and when run it produces no errors; but neither does it do anything. Next time the page loads, the $scope.$on('event:google-plus-signin-success' event instantly occurs with the account I had been logged in with. Anyone else see the same thing and have a fix?