-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
get_user_details() vs user_data() #7
Comments
@gsakkis,
|
Ah, so the Pull request coming soon, thanks! |
@gsakkis, when I wrote my previous reply I thought I was on django-social-auth project, not python-social-auth, it still applies (kinda), so let me rewrite it.
|
I think we can close this one. |
…d-slugify Fix slugify for PY2 str omab#6
I'm about to add a new social backend and I'm not sure what's the difference between the
get_user_details()
anduser_data()
methods. In this particular backend, the response from theACCESS_TOKEN_URL
has almost no user details other than the token itself; all details are fetched from a separate api call to the service. So I tried returning an empty dict fromget_user_details()
but apparently the username is autogenerated in this case, which is not what I want. I can make the api call to the service to retrieve the user data inget_user_details()
but then what's the point of havinguser_data()
?Thanks,
George
The text was updated successfully, but these errors were encountered: