Path_param not available in authentication middleware #2013
Answered
by
alex-oleshkevich
Kolumbs
asked this question in
Potential Issue
-
I expected a successful call here on
|
Beta Was this translation helpful? Give feedback.
Answered by
alex-oleshkevich
Jul 6, 2023
Replies: 2 comments
-
To my regret, this is correct Starlette behavior as according to documentaion Using middleware the order of every request is as following:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
See my explanation here - #2208 TLDR: use middleware bound to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kludex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See my explanation here - #2208
TLDR: use middleware bound to
Mount
, not global.