Hello. If i am using authenticator to protect some endpoint is there a way i can include subject to the header of the authenticated request, so protected service receive subject in header after it was authenticated by oathkeeper?
g
glamorous-autumn-39808
01/24/2024, 3:17 PM
Yes you can do so with the mutator:
Copy code
mutators:
- handler: id_token
🙂
In e.g. FastAPI you can then get it using the