Log in with your Google Accout to view data from the VaccinateGA.com Google Sheet
Quickstart Output - After authorizong, clicking One-Tap will reveal your person info in the person-info div. The quickstart account can differ from the onetap account.
After clicking the signout button and refresh, your person info will
no longer appear until you click Authorize again.
Project
Combine Google API
Client for Javascript
with One-Tap
One-Tap is included in the current page with a Google API Client sample.
This Stack Overflow post describes some of the timing issues.
We're working toward allowing users to edit existing rows in a Google Sheet using REST/CRUD with a single-page-app. Also see our progress with server-side Google Auth using Python with Flask.
You'll need to be logged into the Google gmail account in another browser window
for the One-Tap popup to appear on this page.
If you click X in the popup, you'll need to clear your cookies and log into your gmail account again for the popup to appear.
TO DO:
Try to display the user name and image following auto-login only by One-Tap, without authoizing on the left.
Use the notification.clientId returned by One-Tap.
(This may not be possible since One-Tap provides auth and the other client apporoval.)
Currently the user name and image only appear
if the user has authorized via Quickstart (displayed to the left).
TO DO: Figure out how to display the One-Tap popup after the user has clicked the X in the One-Tap popup.
The message "suppressed_by_user" is triggered in an alert within this page after clicking the X and hitting reload.
You can clear recent cookies to restore the One-Tap popup. (We could try using javascript to clear cookies.) Log back in to GMail after clearing recent cookies.