googlemaps/mapsengine-api-tutorial — pull request #181 by stephenfarrar (2014-03-20 01:28:24+00:00)
Title: Don't request to "know who you are on Google"

gapi.auth.signIn() adds an extra scope, and requests the user's authorization to "know who you are on Google". We don't want this.

This pull request switches to using gapi.auth.authorize(), which doesn't add that scope.

I've also factored the logic of that interprets authResults into the makeLogin() function.