New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google+ Sign-in problem #285
Comments
Google OAuth2? |
social.backends.google.GooglePlusAuth |
I typically don't post to issues but I've been working for several hours to no avail with a consistent response of invalid scope using the GooglePlusAuth and always 403 Forbidden on GoogleOAuth2. I will post the stack trace if needed - Thx |
I am having the same issues. I have updated and deployed the fix from e352518 but requests continue to come back as 403. Any progress on fixing this issue? |
Just a note - tests on this are failing for me as well. However, from what I can gather (ergo my reason for being hesitant to post), if the HTTP response is a But I have followed advice from many various sources in an attempt to remedy the issue by adjusting permissions, etc.. on the google app acct and I still get a So I'm wondering if this issue has something to do with python-social-auth. Thanks - any help or direction would be awesome. |
I took a closer look at the error I was having. Google Oauth2 is authenticating correctly and returning a valid access token. I found this by calling Once I turned on the Google + API in the developer console everything worked perfectly. @AndrewJHart, @kamikaze hope this helps. |
I've always had G+ API enabled, actually everything worked until pyton-social-auth changed to new API (e352518) but is there a fact that new API is supported by Google right now? |
Same problem here, it just does not work :( |
Google is deprecating the old scopes, dropping support starting from Sept 1, 2014, check the table at https://developers.google.com/+/api/auth-migration#timetable. I wasn't aware that the new scopes requires the I've added documents regarding the scopes deprecation and workaround for those looking to keep the old scopes at http://psa.matiasaguirre.net/docs/backends/google.html#scopes-deprecation |
I have enabled the Google+ API in the dashboard. And I have the following settings in my Django settings.py: GOOGLE_OAUTH2_CLIENT_ID = 'xxx.apps.googleusercontent.com' And when I follow the link I get:
|
but I have Google+ API enabled already... |
@Uznick : I'm seeing the same issue. AUTHORIZATION_URL isn't being set in the GooglePlusAuth class -- none of its parent classes define it.
Maybe it should inherit BaseGoogleOAuth2 (which inherits BaseGoogleOAuth2API, or it should define the AUTHORIZATION_URL (and other) constants directly in the class? I haven't used the G+ API enough to know what the proper patch is. |
I've released SOCIAL_AUTH_GOOGLE_OAUTH2_USE_DEPRECATED_API = True
SOCIAL_AUTH_GOOGLE_PLUS_USE_DEPRECATED_API = True Also added support for |
Thanks |
I'm using v0.1.26 and I still get 403 (even with Google+ API enabled). In fact if I take the
I'm perfectly able to see the correct response. It is to say that I'm testing without HTTPS enabled on my end; might that be the cause of this problem? |
Hmm, what is the non-deprecated API then? |
My problem was that Google+ API was Off in the Developer Console at Google. |
Thank you, After enable Google+ API i was able to solve this issue as well |
Me too... I had to enable Google+ API even if not needed by my app. |
Are you guys still able to use this fine? I have it set up, and Google+ API is enabled, but am getting this error: Traceback (most recent call last): |
I have the same problem as @vahedq as well. Any pointers will be much appreciated! |
Yesterday I've updated the Google+ Sign-In docs and fixed some issues in the backend, take a look to the docs here http://psa.matiasaguirre.net/docs/backends/google.html?_=123#google-sign-in it might help. |
I had the same issue. I solved it by enabling the Google+ API from |
+1 to bettsmatt & morninj |
bettsmatt's solution did it for me! |
I still struggling with the same problem as @vahedq Project created, Google+ API enabled. My UI (angularjs) is able to let user login by google and pass the access_token. When psa's backend.do_auth is invoked with token, 403 is raised. Testing is done localhost and an AWS client. |
For all those people that have the same issue, one alternative to solve it is to update the package. I have the problem in v1 and enabling Google+ doesn't solve it, but upgrading to v4 does. |
When trying to login, I'm getting this from google:
Error: invalid_scope
Some requested scopes were invalid. {valid=[https://www.googleapis.com/auth/userinfo.email], invalid=[plus.login]}
The text was updated successfully, but these errors were encountered: