googlearchive/PyDrive

commandlineauth error 400 invalid_request required parameter is missing: response_type

Opened this issue · 0 comments

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