When trying to sign in via Google and a mobile app (used this example http://psa.matiasaguirre.net/docs/use_cases.html#signup-by-oauth-access-token) I'm getting a 403 Forbidden error with the following response:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
from googling around I saw that the common issue is having Google+ API disabled, but for us it was already enabled due to previous use of the API in another internal project.
What I tried:
- Disabling and re-Enabling the API
- Using both OAUTH2 and PLUS strategies
- Creating new Client ID and Client Secret
Our settings:
SOCIAL_AUTH_GOOGLE_PLUS_KEY = X
SOCIAL_AUTH_GOOGLE_PLUS_SECRET = Y
SOCIAL_AUTH_GOOGLE_PLUS_SCOPE = [
'https://www.googleapis.com/auth/plus.login',
'https://www.googleapis.com/auth/plus.me'
]
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = X
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = Y
SOCIAL_AUTH_GOOGLE_OAUTH2_SCOPE = [
'https://www.googleapis.com/auth/plus.login',
'https://www.googleapis.com/auth/plus.me'
]
AUTHENTICATION_BACKENDS = (
'social.backends.google.GooglePlusAuth',
'social.backends.facebook.FacebookOAuth2',
'social.backends.google.GoogleOAuth2',
'django.contrib.auth.backends.ModelBackend',
)
Facebook works perfectly
Would love any assistance!
When trying to sign in via Google and a mobile app (used this example http://psa.matiasaguirre.net/docs/use_cases.html#signup-by-oauth-access-token) I'm getting a 403 Forbidden error with the following response:
from googling around I saw that the common issue is having Google+ API disabled, but for us it was already enabled due to previous use of the API in another internal project.
What I tried:
Our settings:
Facebook works perfectly
Would love any assistance!