4

I'm trying to integrate my application with Google Drive using Javascript.

I have done the complete step: While running the application in device i am getting the below issue:

CordovaLog(5290): : Line 0 : Refused to display 'https://accounts.google.com/o/oauth2/auth?client_id=....///' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Could somebody help me out here!! Here is the code which i have used in Cordova App.

Google drive integration

Priyanka
  • 61
  • 5
  • Probably duplicate with this one: http://stackoverflow.com/questions/28545465/how-do-i-avoid-this-x-frame-options-sameorigin-error-when-running-the-google-he – Dayton Wang Mar 04 '15 at 18:06
  • My application working perfectly in web browser But I have problem with device .I have followed this link https://developers.google.com/drive/web/quickstart/quickstart-js – Priyanka Mar 05 '15 at 07:35
  • I haven't tried it, but you may want to use the instructions here: http://phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html – Eric Koleda Mar 06 '15 at 14:55
  • @EricKoleda thanks let me try.. – Priyanka Mar 09 '15 at 05:29
  • 1
    @EricKoleda is there any possibility to solved the above issue..I have tried the above link.But no hope!! – Priyanka Mar 11 '15 at 11:15

0 Answers0