Comment by bognition

Comment by bognition 2 months ago

0 replies

No that’s not how this works. You register the middleware with your web framework and it gets called as part of all web requests before the request hits your endpoints. This allows you to trust that authentication has been called for all api calls