delsetr.blogg.se

Google drive scope invalid but other scopes work
Google drive scope invalid but other scopes work







google drive scope invalid but other scopes work
  1. #Google drive scope invalid but other scopes work verification
  2. #Google drive scope invalid but other scopes work code

#Google drive scope invalid but other scopes work code

Here is the part of the code around the authorization flow, and the URLs for the different client IDs are what was produced on the $stderr.puts url line. Here are the URLs generated by my app (I use the ruby google client APIs) and the only difference between them is the client_id - January 2021, December 2021, March 2022. The other two give me an "Error 400: invalid_request" and do not even let me choose the "internal" account. Of those, only the December 2021 works and lets me choose which account to authenticate with before it either accepts it or rejects it with "Error 403: org_internal" (this is expected). The oldest one is from January 2021, another one from December 2021, and one I created today - March 2022. I was able to reproduce the same problem in a dev domain.

#Google drive scope invalid but other scopes work verification

  • This is a command line script, so I use the "copy/paste" verification method as documented here hence the urn:ietf:wg:oauth:2.0:oob redirect URI (copy/paste is the only friendly way to run this on a headless machine which has no browser).
  • Another client id in the same project works and there are no obvious differences between the client IDs - they are both "Desktop" type which only gives me a Client ID and Client secret that are different.
  • I do have "Trust internal, domain-owned apps" enabled for the domain.
  • Therefore any mentions of Google review of the project, or publishing status are irrelevant
  • The OAuth consent screen for this project is marked as "Internal".
  • How do I get through this error? It is important to note that: If you’re the app developer, make sure that these request details This content has not been reviewed or verified by Google.

    google drive scope invalid but other scopes work

    The content in this section has been provided by the app developer. You can let the app developer know that this app doesn't comply with OAuth 2.0 policy for keeping apps secure. You can't sign in to this app because it doesn't comply with Google's Recently, after making another client_id in the same project, I started getting an error message similar to the one described in localhost redirect_uri does not work for Google Oauth2 (results in 400: invalid_request error). We have some apps (or maybe we should call them a handful of scripts) that use Google APIs to facilitate some administrative tasks.









    Google drive scope invalid but other scopes work