Skip to content

Why in your actions example (codegen and blog post) your endpoints aren't protected? #7965

Answered by arjunyel
Edmartt asked this question in General
Discussion options

You must be logged in to vote

Instead of using JWT auth with your action handler, try a secret password that you pass via headers https://hasura.io/docs/latest/graphql/core/actions/action-handlers.html#restrict-access-to-your-action-handler

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Edmartt
Comment options

Answer selected by Edmartt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
None yet
2 participants