maximepvrt / angular-google-gapi

An AngularJS module for using all Google Apis and your Google Cloud Endpoints (Google App Engine) with OAuth. This module uses Google APIs Client Library for JavaScript, available for all GApis.
176 stars 111 forks source link

GAuth.login() not passing user object in resolution #59

Closed dawiong closed 8 years ago

dawiong commented 8 years ago

Hi,

From the readme, it shows how to get a hold on the user object after logging in using GAuth.login(), but upon implementation on my end, it's passing undefined. I don't know if it's not intended to be passed on, but it seems it has to be passed through login's deferred.resolve(). :)

Regards, Darryl

maximepvrt commented 8 years ago

sorry for this bug :smile: You can get user in GData

dawiong commented 8 years ago

No worries, that's what I did for the meantime.

Thanks for the fix and for creating this plugin! :smile: