Skip to content

get_user_details() vs user_data() #7

@gsakkis

Description

@gsakkis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions