GoogleWebComponents / google-apis

Web components for loading Google's JavaScript Libraries
https://elements.polymer-project.org/elements/google-apis
Other
87 stars 64 forks source link

Implements OAuth2 flow #37

Closed DracoNoir closed 9 years ago

DracoNoir commented 9 years ago

See https://developers.google.com/api-client-library/javascript/features/authentication for description of flow.

ebidel commented 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.

addyosmani commented 9 years ago

Imo, @ebidel is correct. See how the sign-in element tackles this problem.