Fetch user data from user-info endpoint for middleware
Open
@jhrozek is already working on this.
Since Jan 22, 2026.
- Dominant language
- Go
- Stars
- 2.2k
- Forks
- 300
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 184
Description
For the auth and audit middleware, we look for certain user claims in the JWT, like sub and name to get the user's identity.
We should add a call to the /user-info endpoint if the required claims are not populated and get the claims from there.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.