Docs wrong for `bearer_token` Subject default location
logan-hcg opened this issue · comments
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe the bug
The default is sub
:
but documentation shows it it subject
:
https://www.ory.sh/docs/oathkeeper/pipeline/authn#bearer_token
Reproducing the bug
- Configure
bearer_token
authenticator - Return status
200
and the body{"subject": "test-subject"}
Subject is empty instead of expected test-subject
. Changing the response to {"sub": "test-subject"}
returns the proper subject value.
Relevant log output
No response
Relevant configuration
No response
Version
v0.40.6
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response