Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google OAuth: Access Not Configured

I'm trying to set up Google Oauth authentication for my app. I've created Google API Project and set up Redirect URIs. When I use link for authentication I get a response:

{"errors"=>[{"domain"=>"usageLimits", "reason"=>"accessNotConfigured", "message"=>"Access Not Configured. Please use Google Developers Console to activate the API for your project."}], "code"=>403, "message"=>"Access Not Configured. Please use Google Developers Console to activate the API for your project."}: 
{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
   }
  ],
  "code": 403,
  "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
 }
}

As I understood I should activate some API from my Google developer console. The problem is I don't understand clearly what api should I activate from list of 87 items: enter image description here

like image 473
Pavel Babin Avatar asked Jul 31 '14 10:07

Pavel Babin


People also ask

How do I configure OAuth?

Configure OAuth consent & register your appIn the Google Cloud console, go to Menu menu > APIs & Services > OAuth consent screen. Select the user type for your app, then click Create. Complete the app registration form, then click Save and Continue.

How do I validate Google OAuth access token?

After you receive the ID token by HTTPS POST, you must verify the integrity of the token. To verify that the token is valid, ensure that the following criteria are satisfied: The ID token is properly signed by Google. Use Google's public keys (available in JWK or PEM format) to verify the token's signature.


1 Answers

Necessary API for authentication on site is Google+ as I understood

like image 187
Pavel Babin Avatar answered Nov 15 '22 09:11

Pavel Babin