Skip to content

model.getUser needs access to req #150

Open
@memelet

Description

@memelet

Our server is multi-tenant. When using password flow to generate a JWT getUser needs to determine which tenant the user is associated with. Typically haproxy creates an X-Tenant header based on the sub-domain.

Unless I am missing something in the current implementation, there is no way for getUser to have access to any data other username, password.

Is this related to scope? Or to maybe the very early issue on state?

Any idea's how this could be incorporated? Right now I am fully blocked and will need to fork or look for another server. If I have to fork I would like some guidance on what an acceptable PR would look like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions