4 ms·
(I didn't even know grabbing a visitor's google account name was possible) I didn't either, but it seems you can simply use Google's API to allow a user to
by Confusion 16y ago
(I didn't even know grabbing a visitor's google account
name was possible)
I didn't either, but it seems you can simply use Google's API to allow a user to sign in, where the user name of the user that signs in (or is already signed in!), is reported to the user of the API via a callback. The request after you sign in has a 'continue' HTTP header that says something like:
continue=http%3A%2F%2Fwww.wattvision.com%2F_ah%2Flogin%3Fcontinue%3Dhttp%3A%2F%2F
www.wattvision.com%2Fhouse&service=ah&dsh=2844188452075813479&timeStmp=&secTok=&GALX=
DTEVMCX16p4&Email=<your gmail address>&Passwd=<your_password>