Drive Authentication and the Chrome Web Store

I am building a Chrome Web Store application with the Google Drive API, and I am wondering how I should authenticate the user.

Documentation The Chrome Web Store recommends using OpenID.

The Google Drive SDK documentation recommends using oauth2.

Should I support both? If a user logs in with OpenID and then opens a file from Google Drive, is there a way to find out that OpenID and oauth authentications must be associated with the same account?

+3
source share
1 answer

, - Chrome "" OpenID (, v2). Drive OAuth 2.0 . OAuth 2.0, OpenID Connect, Chrome auth. OpenID Connect (OAuth 2.0) -, Google , , , " " Chrome.

, , - API Chrome, , , OpenID v2.

: OpenID Connect ( OAuth 2.0), Drive .

+1

All Articles