What am I doing wrong with axum’s middleware function?
So I’m trying to write authentication middleware for my axum server. I used to authenticate user with access token in every route instead of using middleware. But when I tried to create one, it doesn’t work.