genericAuth plugin queries #5358
Unanswered
ranjeetkowel
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have the genericAuth plugin enabled on the graphql-mesh and it works perfectly well.
I am now trying to implement the
validateUser
function for a more granular level access. My source is ajsonSchema
.Is it possible to extend it by adding a directive to the generated schema and extend the generated schema so I could use the auth directive as specified in the
generic-auth
example?Alternately, there are also instructions to use custom field extensions but that approach is not very clear, specifically on how that would integrate with
graphql-mesh
.Some of the things I was considering is to extend the schema, but if there are better ways would love to hear from the community.
Beta Was this translation helpful? Give feedback.
All reactions