5

when I have tried to authenticate with google Oauth2 i get this error

403 Client Error: Forbidden for url: https://www.googleapis.com/plus/v1/people/me?access_token=ya29.UQK5LwsbfbnBTGBXmxeByXVP2SbBuCLIM2KxQlMRBbJYrKJANu0cWXWP4YbWjMQXQUjw&alt=json

my redirect uri is

http://localhost:8000/complete/google-oauth2/

2
  • 1
    Thats not enough info. Have a look at github.com/google/google-api-python-client/tree/master/samples/… Commented Dec 21, 2015 at 15:39
  • 3
    If you visit the URL you'll probably see a JSON output containing the error message "Access Not Configured. The API (Google+ API) is not enabled for your project. Please use the Google Developers Console to update your configuration." ... it seems that Google currently forces you to have the plus.me scope whether you request it or not, unless you use an older deprecated API. Commented Jan 12, 2016 at 11:34

1 Answer 1

13

Enable the Google+ API in Google Api Console.

Console developer - APIs de Google

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.