Different middlewares to different schemas #2531
Unanswered
JohnnyMaynne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all. Thanks for the great package. I have a question.
I need to create several schemas and apply various security tools and middleware to them.
For example, I have an authentication scheme that people can use through security exits, and to verify authentication I configure the auth:api middleware and various other middlewares to work with those users.
I also have a public part where there are mutations of login, registration, etc. and middleware should not be used there.
I also have a third part where I use different guard and different middlewares.
Is it possible to somehow attach different middlewares to different schemas and use different guards?
Beta Was this translation helpful? Give feedback.
All reactions