5
votes

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/

1
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. - steveayre

1 Answers

13
votes

Enable the Google+ API in Google Api Console.

Console developer - APIs de Google