[Feature] Access rule's upstream.url
to support Go templates
#1216
Labels
feat
New feature or request.
upstream.url
to support Go templates
#1216
Preflight checklist
Ory Network Project
No response
Describe your problem
Currently, if I set a Go template in the access rule's
upstream.url
property then it does not evaluate Go templates.A simple example confirmed using:
Results in the upstream receiving this url:
When I expected the upstream to recieve:
This is an elementary example, but the intention is to use more complex scenarios e.g.
Describe your ideal solution
The ideal solution would allow implementing Go templates in the Upstream URL so that we can have more dynamic paths and routing.
Workarounds or alternatives
So far, we are using APISIX as an API gateway with its proxy-rewrite plugin to implement a similar behavior. However, this adds an extra hop and is not an ideal long-term solution.
Version
oryd/oathkeeper:v0.40.8
Additional Context
No response
The text was updated successfully, but these errors were encountered: