Skip to content

Full Request URL Data #3078

@Crisfole

Description

@Crisfole

Describe the problem

I redirect users to external auth providers that accept a redirect url as a query parameter. In order to do this from a hook I need to rebuild the url by combining the various pieces by hand and some environment information to determine protocol. This is inconvenient and doesn't easily allow using the platform.

Describe the proposed solution

I'd like a url: URL property on the ServerRequest. It does mean all the adapters need tweaking, but it feels like a reasonable need for a web server.

Alternatives considered

Building the full URL by hand.

Importance

would make my life easier

Additional Information

No response

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