Skip to content

Unify options.loginData.fetchData and options.fetchData #338

Description

@Glandos

Is your feature request related to a problem? Please describe.
I want to transform the received object from the profile URL defined in options.fetchData.url before storing it as a user. This is currently not possible, since only options.fetchItem is used as key to transform the received object.

This is a bit confusing with options.loginData.fetchData that is a function that transform the response from the login URL only.

Describe the solution you'd like
options.fetchData could use options.fetchItem as a function and call it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions