Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I authenticate with Google username and password in Google Drive API?

Can I authenticate with just Google account username and password instead of using OAuth? If not, is it planned to support this kind of authentication in the future versions of Google Drive API?

I am currently using Google Documents List API which allows to authenticate with just username and password. So I am wondering if I can I do the same thing with Google Drive API.

like image 818
Evgenii Avatar asked Oct 07 '22 08:10

Evgenii


1 Answers

Are there any reasons you cannot use OAuth 2.0 as your authorization mechanism?

Client Login is currently being deprecated and it would be better for you and your users to use OAuth 2.0.

There are multiple code samples available in the Drive SDK documentation as well as in the various client libraries project page to help you get started.

like image 99
Alain Avatar answered Oct 27 '22 10:10

Alain