I am trying to integrate Google Picker to select files from Google Drive, the following in this example .
When I open the collector, I get an error in the javascript console and dialog prompts for login.
Unable to post message to https://docs.google.com. Recipient has origin https://my-app.herokuapp.com.
When you press the login button, a popup window opens and closes immediately, but nothing happens.
When closing the dialog, another error appears in the javascript console
Unknown RPC service: picker
I'm not quite sure what causes these errors or even what to do about it.
Can someone put me in the right direction?
EDIT
The user is connected to the application. In addition, when using the "Open With" menu in a file on the Google Drive interface and select my application, I can access this file.
source share