Using this package in MeteorJS accounts-google , I tried to find the right approach to have a callback after logging in and logging out. I am currently using the hook below to login (which seems to me too simplistic - I want to find the hook caused by the callback after successful authentication) ~ and am still not sure how to do this to log out.
Meteor.autorun(function() { if (Meteor.user()) { //code for login } }
source share