-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
bugSomething is not working.Something is not working.
Description
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
I am using NextAuth/Auth.js.
It is correctly sending the audience claim to ory hydra in the url, however hydra fails to set the audience claim in the access token.
I am using jwt strategy with oAuth2.0 client
Reproducing the bug
https://www.ory.sh/docs/getting-started/integrate-auth/auth-js
Install the example app and configure it to have an audience + jwt strategy both in ory hydra oAuth 2.0 and in the nextjs app.
Try to sign in, the sign in will work as expected, but the access token will lack the audience claim.
Relevant log output
Relevant configuration
Version
2.3.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething is not working.Something is not working.