Hi everyone,
If you are already using the Picker API with OAuth 2.0, you can skip reading. However, if the Picker API is no longer working properly in your application, the following may apply to you.
Effective this past week, we now require OAuth tokens for everyone requesting Views that deal with user data. We had to bring this change forward from the planned date of April 15th in order to help mitigate a security exposure.
What to do?
Obtain the OAuth token by following the instructions here. Make sure you pass the appropriate scopes while obtaining the token depending on the Picker Views you are creating.
You can see the list of scopes for different Picker Views here.
Pass the obtained OAuth token to the instance of google.picker.PickerBuilder using its setOAuthToken method. This method should be called before PickerBuilder.build() is called.
See example.
We apologize for the inconvenience. If you have any problems in your migration to OAuth authentication, please post to the forum and we'll help you through it.
Thanks,
Google Picker API Team
--
You received this message because you are subscribed to the Google Groups "Google Picker API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-picker-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
google.load('picker', '1', {callback: pickerReady});// ...var picker = new google.picker.PickerBuilder().addView(google.picker.ViewId.MAPS).setCallback(function(data) {if(data.action == 'picked') {// ...}}).build().setVisible(true);
For more options, visit https://groups.google.com/d/optout.
yeah, its all pretty ghetto - we've worked around it now but is frustrating to require all the extra steps when a user just wants to get a file as an alternative to the "browse" dialog. Google Drive/Docs had a great advantage here that helped us push our users in that direction, but now it has taken a number of steps back. The lack of wildcards just makes it even more miserable and sticky taped together; so different to other experiences with Google that might launch early/rough but get better, this one is a regressive step from a usability standpoint at least.