red-machine-69654
08/01/2022, 11:47 AMmutators:
header:
enabled: true
config:
headers:
X-Username: "{{ print .Subject }}"
noop:
enabled: true
As a sanity check, should using the header mutator work on an anonymous endpoint? As in:
- id: ory:runway:ui
upstream:
url: <http://tasks.ui>
match:
url: <https://my-app/><{,_app/**,login,register,recovery,favicon.png,index.html,50x.html}>
methods:
- GET
authenticators:
- handler: anonymous
authorizer:
handler: allow
mutators:
- handler: header
Would I be correct to "expect" requests to include the header X-Username: guest
?able-glass-7253
08/04/2022, 11:33 AMable-glass-7253
08/04/2022, 12:19 PManonymous