I'm about to add a new social backend and I'm not sure what's the difference between the get_user_details() and user_data() methods. In this particular backend, the response from the ACCESS_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 from get_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 in get_user_details() but then what's the point of having user_data()?
Thanks,
George
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_URLhas 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