-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
needs feedbackIssue is waiting on feedback before acceptanceIssue is waiting on feedback before acceptanceproposalProposal for a new functionality in OcelotProposal for a new functionality in OcelotwontfixNo plan to include this issue in the Ocelot core functionality.No plan to include this issue in the Ocelot core functionality.
Description
New Feature
Downstream route variables could pull from a pluggable architecture. I have implemented a similar mechanism in our companies usage of Ocelot, where downstream variables could be of the format {claim->UserID} to replace a variable with the first UserID claim and similar for request headers, cookies, and other variables. It also allows operations such as concatenating variables or similar. We also use it in claim authorization for routes.
Motivation for New Feature
All downstream variables currently require the variable to be a replacement from the upstream request. A system such as this would significantly increase flexibility allowing things such as routing to a URL based on the currently logged in user.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs feedbackIssue is waiting on feedback before acceptanceIssue is waiting on feedback before acceptanceproposalProposal for a new functionality in OcelotProposal for a new functionality in OcelotwontfixNo plan to include this issue in the Ocelot core functionality.No plan to include this issue in the Ocelot core functionality.