Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs wrong for bearer_token Subject default location #1130

Open
5 tasks done
logan-hcg opened this issue Aug 27, 2023 · 0 comments
Open
5 tasks done

Docs wrong for bearer_token Subject default location #1130

logan-hcg opened this issue Aug 27, 2023 · 0 comments
Labels
bug Something is not working.

Comments

@logan-hcg
Copy link

Preflight checklist

Ory Network Project

No response

Describe the bug

The default is sub:

but documentation shows it it subject:

image
https://www.ory.sh/docs/oathkeeper/pipeline/authn#bearer_token

Reproducing the bug

  1. Configure bearer_token authenticator
  2. 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

@logan-hcg logan-hcg added the bug Something is not working. label Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant