2

I am trying to implement Google Drive SDK in my project but nothing seems to go well, i wanted to upload images and create folder on Google Drive but i am stuck with the error ,which i don't know how to get through, as i found nothing related to the following error.

this

I have strongly followed this link for code

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
Zღk
  • 854
  • 7
  • 25
  • a clean way is to use gidsignIn instead. I have anwered at http://stackoverflow.com/questions/40654403/403-error-disallowed-useragent/42045386#42045386 – Jen Jose Apr 08 '17 at 19:17

1 Answers1

1

Google has updated its security restrictions for OAuth flow. They are not going to allow native web-views to initiate OAuth flows. You will need to use the OS browsers to do so.

Modernizing OAuth interactions in Native Apps for Better Usability and Security

You may have to wait for google to update the sample code or figure out how to do it yourself sorry i am not an IOS developer so cant be of any help.

The issue is already logged on the issue forum for Google drive 4919

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449