Closed DracoNoir closed 9 years ago
I don't think this component should handle auth. It's responsible for loading the JS libs.
https://github.com/GoogleWebComponents/google-signin handles oauth2 and reuses the components in this repo.
Imo, @ebidel is correct. See how the sign-in element tackles this problem.
See https://developers.google.com/api-client-library/javascript/features/authentication for description of flow.