Hello. If i am using authenticator to protect some...
# talk-oathkeeper
a
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
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
JWTUserIdentityMiddleware
🙂