Actually plugin returns only access_token and id_token, the access_token i recieve has an expiration time of only 1h so i need to reauthenticate the user after that time to keep in sync my app's calendar with google. Probably adding 'access_type=offline' parameter to the auth url in oauth.google.js at Line 28, and adding refresh_token in resolve method at line 40, should do the trick.
Actually plugin returns only access_token and id_token, the access_token i recieve has an expiration time of only 1h so i need to reauthenticate the user after that time to keep in sync my app's calendar with google. Probably adding 'access_type=offline' parameter to the auth url in oauth.google.js at Line 28, and adding refresh_token in resolve method at line 40, should do the trick.
If i'll have time i could make a pull request.