试图让 Google Drive API 在 node-webkit 中工作。
发送 auth 消息时,发送的 Origin 为 File://,但被拒绝。
https://accounts.google.com/o/oauth2/auth
?client_id=<some value>
&scope=https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive
&immediate=true
&proxy=oauth2relay1232990068
&redirect_uri=postmessage
&origin=file://
&response_type=token
&state=1938150804|0.1319366391
&authuser=0
不知道为什么它是从 gapi 发送的 - 任何人都知道如何从 node-webkit 验证谷歌驱动器?