How to Forward User Claims to DownStream-Apis ? #2965
Answered
by
MihaZupan
RedEye-Developers
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
MihaZupan
Oct 30, 2025
Replies: 1 comment
-
|
The claims aren't a part of the HTTP request so they can't be forwarded as-is. They're inferred by your ASP.NET Core authentication settings based on who the user is and only exist within your process. If you're already flowing JWTs around, you could have the backend process the JWT again, which would populate the claims again, or you'd have to forward the information to the backend in some other way yourself. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RedEye-Developers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

The claims aren't a part of the HTTP request so they can't be forwarded as-is. They're inferred by your ASP.NET Core authentication settings based on who the user is and only exist within your process.
If you're already flowing JWTs around, you could have the backend process the JWT again, which would populate the claims again, or you'd have to forward the information to the backend in some other way yourself.
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/yarp/authn-authz