I am developing an application to access Google APIs and I have working the Calendar and Google Cloud Print APIs using OAuth 2.0 for devices.
A few months ago on the Google forum I asked about the Drive API returning "invalid_scope" and they informed us that for devices they were limiting scopes and hoped to open more up shortly.
We asked then about when the other APIs (like Drive) may open up to devices as we have customer asking us to add this to our application.
Hoping someone from Google can answer this question. Thanks!
Request:
POST /o/oauth2/device/code HTTP/1.0
Accept: text/html
Host: accounts.google.com
Content-type: application/x-www-form-urlencoded
Content-length: 92
client_id=xxxxxx&scope=https://www.googleapis.com/auth/drive
Answer:
{
"error" : "invalid_scope"
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…