Learn about the Hasura platform and how their GraphQL APIs can be secured using JSON Web Tokens.
Read on >> Authorization Using JWT Authentication with Hasura GraphQL Engine
Learn about the Hasura platform and how their GraphQL APIs can be secured using JSON Web Tokens.
Read on >> Authorization Using JWT Authentication with Hasura GraphQL Engine
I feel like the most important bit of this tutorial would be the āGenerating a valid JWTā section, ideally showing how to have Hasura add the metadata to the token, however itās glossed over. Any chance of getting more detail?
Hey there @lukerhodes!
Will make sure to relay that feedback to article author!
Howdy! Thanks for your feedback. We did some research and took a look at the tutorial:
The steps say to browse to https://auth0-hasura-demo.now.sh/, and log in. Once you do that, the token will be visible and can be copied.
Then, browse to https://jwt.io and paste in the token to see the token claims.
There are screenshots for all these steps to guide you.
Let us know please if this helps or if you need further assistance.
Thank you again for reading the blog post!
Following:
Getting error after mutation:
āmessageā: āfield "name" not found in type: ātag_insert_inputāā
Maybe DB needs repair after lots of people playing with it?
Howdy, Ryu! Welcome to the Auth0 Community. Thank you for reading the post and sharing your feedback.
We are working on updating our Hasura-related guidance in collaboration with the Hasura team Stay tuned for updates in the coming weeks, please.