googlearchive / PyDrive

Google Drive API Python wrapper library
Other
1.31k stars 273 forks source link

commandlineauth error 400 invalid_request required parameter is missing: response_type #204

Open randywreed opened 4 years ago

randywreed commented 4 years ago

from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive

gauth = GoogleAuth() gauth.CommandLineAuth() drive = GoogleDrive(gauth) ` Generates a link.
https://accounts.google.com/o/oauth2/auth?client_id=xxxxxxxxxxxxxxxxxxxxxxapps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&access_type=offline&response_type=code
Clicked link. Instead of authorize screen got FireShot Capture 032 - Sign in - Google Accounts - accounts google com