wrong user data from google
ofri opened this issue · 4 comments
when logging in via google, user.username and user.email are set incorrectly.
for example i logged in the demo site, and the title is Hello rwuuavcmvn (and by checking users db on my own machine i see that also email is set incorrectly).
with facebook and twitter it works ok (user name is facebook_myusername and twitter_myusername).
oh, i believe this was fixed here: 3e9afab, just not updated in the demo site or in the package i used.
I think the issue remains. new code was added (openid.ax) and backend fails to get any data from request.openid.ax
This issue can be fixed by changing the settings file lines as below
OPENID_AX = [{"type_uri": "http://axschema.org/contact/email",
"count": 1,
"required": True,
"alias": "email"}]
you also need to change the auth_backends.py to read the result. Full code is here Fix google openauth
marking as closed, since no longer valid