Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

django Google-Oauth authentication error

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/

like image 905
Sipan Avatar asked Dec 21 '15 12:12

Sipan


1 Answers

Enable the Google+ API in Google Api Console.

Console developer - APIs de Google

like image 163
erajuan Avatar answered Oct 20 '22 16:10

erajuan