How to access GetOperationContext inside the auth middleware #2238
Unanswered
shashank-sachan
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,
I'm trying to access GetOperationContext inside the auth middleware but it gives
missing operation context
error. I'm using Gin with GqlGen.What I'm trying to do is bypass the auth middleware in case of login but check the token for other query/mutations.
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions