Get operation input from jwt #2354
Unanswered
alexvanloon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm defining my interface in smithy, I have a resource and am trying to create a get endpoint on it. The user is only allowed to get very specific data and as such I have encoded this in a JWT sent in the Authorization header. In my backend I can extract the data from the token. How would I bind a value in the token to my operation? I am using the @http trait to generate openapi documentation and I am not allowed to bind input values to the Authorization header.
Beta Was this translation helpful? Give feedback.
All reactions