-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels