You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mux has great support for middlewares and OpenAPI allows for different security mechanisms on different routes.
An easy approach to this is to build a list of routes that require:
No auth
Token auth
Oauth
and check in a single middleware
Right now, I think the best approach is create the three separate middlewares and create a sub router for each model, attaching the right middleware (based on the swagger file) to each route.
The text was updated successfully, but these errors were encountered:
Mux has great support for middlewares and OpenAPI allows for different security mechanisms on different routes.
An easy approach to this is to build a list of routes that require:
and check in a single middleware
Right now, I think the best approach is create the three separate middlewares and create a sub router for each model, attaching the right middleware (based on the swagger file) to each route.
The text was updated successfully, but these errors were encountered: