Skip to content

[📖] Please tell us how can we access request info in plugins #7978

@Nefcanto

Description

@Nefcanto

Suggestion

Right now, we read parameters for plugin@auth.ts from env. However, for multitenant apps, we need to access the host header from the incoming request, and load different parameters for each tenant.

Right now the documentation does not mention a way to do that.

Please add a section to it explaining how can we access the incoming request in plugin code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions