-
add auth middleware to API
authenticate and check authorization for handlers
-
### Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/vigorous-wilson-25ycfg
### To Reproduce
1. Start the application
2. Click the 2 links
3. Observe the console …
-
#### What happened:
We've started using Kratos middleware (recovery, logging, validate) in our project, and noticed that, on the gRPC side, they only seem to apply to unary operations. Our streaming …
-
It would be good to have the possibility to run plugin middlewares before middlewares defined inside `routes/` directory.
One use case is to provide a pluggable authentication through plugins, so t…
-
Create a piece of middleware that will validate that the current user has permission to perform the requested action based on their role.
-
### Feature Description
The i18n functionality is currently not perfect and prone to errors because the stats can change in between
The recommendation is to initialize a global container before t…
-
As discussed in #128, it might be a cool idea to have a "middleware" layer in asyncpg where people can register their own code to be ran pre or post query.
One usecase is asyncpgsa, which is a proj…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current behavior
This issue happens when there are 2 endpoints:
- The first endpoint has no params, ex: `/all…
-
**Actual:**
req.body = { status: 'Draft' }
**Expected:**
req.body = {}
**Steps to Repo:**
1. Configure endpoint with this following doc:
```js
export const patch = [(req, res, next…
-
Hi
I have set the globalMiddlewareEnabled as false as I want to define manually which pages are protected.
Doing this, which is the right name to use as middleware?
I have tried '00-oidc-auth', b…