Skip to content

Allow loading resource_owner to be configurable. #85

@doomspork

Description

@doomspork

Right now ExOauth2Provider relies on preload/2 to load the owner from the access token: https://github.com/danschultzer/ex_oauth2_provider/blob/master/lib/ex_oauth2_provider.ex#L92-L98

In our application this less than ideal as we need to do some additional loading alongside our user and now we're forced to maintain that logic in 2 separate parts of the app.

Would you be open to a PR that made this function optionally configurable or overrideable?

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