I'm facing the exact same issue. To reproduce this problem, try this script:
#!/bin/sh SCOPE="https://www.googleapis.com/auth/userinfo.profile"; #WORKS #SCOPE="https://picasaweb.google.com/data/"; #DOES NOT WORK CLIENT_ID="123.apps.googleusercontent.com"; #Put YOUR Client ID for installed applications here curl -d "client_id=$CLIENT_ID&scope=$SCOPE" https://accounts.google.com/o/oauth2/device/code On Apr 16, 12:30 am, Anders Jonsson <[email protected]> wrote: > For what it's worth, I have the same issue, and the scope I send in works > perfectly fine athttps://code.google.com/oauthplayground. And the scope I > used worked fine for my php-auth before the 6th of april, so this is very > strange. > > Den onsdagen den 11:e april 2012 kl. 10:22:12 UTC+2 skrev Laurent Dromer: > > > > > > > > > > > Hi, > > I am trying to develop an applciation using picasa APIs. > > When I try to obtain a user code, I use the scope : " > >https://picasaweb.google.com/data/" > > But the answer is > > status: 400 > > statusText: Bad request > > responseText.error: "invalid_scope' > > > I use oauth 2.0 for devices ( > >https://developers.google.com/accounts/docs/OAuth2ForDevices) > > And if I change the scope, for example : " > >https://www.google.com/calendar/feeds/" > > It works perfectly > > > Can you please help me ? -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-picasa-data-api?hl=en.
