17799

Google Api:: Error: invalid_scope

Question:

i am using google api OAuth2 for signing into gmail account when for gmail sign in i go for auth then i got the error: Error: invalid_scope

This app hasn't been verified to access: {invalid = [<a href="https://www.googleapis.com/auth/contacts]" rel="nofollow">https://www.googleapis.com/auth/contacts]</a>} Please contact the developer for assistance. Are you the developer? If this project needs these scopes, sign in to an account with access to edit your project and try again. If not, contact the developer for help. Please help regarding this where i am wrong.

Answer1:

Seems they are certain scopes that require you to explicitly seek google verification in order to perform Oauth dance. See related posts below

<a href="https://stackoverflow.com/questions/44329890/error-invalid-scope-this-app-hasnt-been-verified-to-access" rel="nofollow">Error: invalid_scope - This app hasn't been verified to access</a>

<a href="https://www.cloudsponge.com/blog/google-oauth-reviews/" rel="nofollow">https://www.cloudsponge.com/blog/google-oauth-reviews/</a>

Answer2:

Scopes are like when a site that logs in through Facebook, and Facebook asks 'This site would like permission to: get your email address (scope), access friends list (another scope) etc.

You must send the scope you need in your request headers.

Recommend

  • Formatting of number from contacts
  • Sitecore 8: Number of Recipients in List Manager not calculating properly
  • Docker container for google cloudML on compute engine - authenticating for mounting bucket
  • Youtube upload API and cordova / phonegap
  • How to force refresh on CallLog.Calls.CACHED_NAME column?
  • Sencha Touch 2.1 native (android) app not getting json from remote (it works on PC)
  • Submission of new app with iAds
  • What is the equivalent of Android permissions in iOS development? [duplicate]
  • Cannot page through all results using nextPageToken on YouTube search API v3
  • testing a POST using phpunit in laravel 4
  • In C what exactly happens if i use () to initialize a double dimension array instead of the {}?
  • Symfony 2 error page response
  • Why must we declare a variable name when adding a method to a struct in Golang?
  • Which open source license has no forking [closed]
  • How to explicitly/implicitly implemented interface members in C++/CLI?
  • CakePHP ACL tutorial initDB function warnings
  • rspec simple example getting error on request variable in integration test
  • How to attach a node.js readable stream to a Sendgrid email?
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Meteor: Do Something On Email Verification Confirmation
  • Exception “firebase.functions() takes … no argument …” when specifying a region for a Cloud Function
  • Asynchronous UI Testing in Xcode With Swift
  • If I include Java 8 in my Android app does that affect which devices it will work on?
  • does jqgrid support a multiple checkbox list for editing
  • Using variable in a value field in jMeter
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • Why is an OPTIONS request sent to the server?
  • Optimizing database types to compact database (SQLite)
  • RectangularRangeIndicator format like triangular using dojo
  • Spray.io: When (not) to use non-blocking route handling?
  • Cross-Platform Protobuf Serialization
  • Where to put my custom functions in Wordpress?
  • what is the difference between the asp.net mvc application and asp.net web application
  • Do I've to free mysql result after storing it?
  • RestKit - RKRequestDelegate does not exist
  • Numpy divide by zero. Why?
  • Revoking OAuth Access Token Results in 404 Not Found
  • WPF Applying a trigger on binding failure
  • Turn off referential integrity in Derby? is it possible?
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass