Thanks Matthew, really appreciate your feedback! It's still early days for the channel but I'm hopeful I can I get that number up a little over time. Glad you enjoyed it, and don't forget to share with anyone you think might be interested :)
This is really awesome. The official Hasura Tutorial misses steps in its "authorization auth0" part. So this is golden. Also jumping out from the cloud hasura and using a node hasura enable so much flexibility. Like fetch data from others API's in the same backend. Awesome
0:00 - Introduction 3:10 - Setting up Auth0 Front-End Applications 4:33 - Setting up Auth0 Back-End API for Hasura 5:25 - Overview of React application 7:14 - Configuring React client to use Auth0 8:09 - Testing React client to use Auth0 10:32 - Hasura claims overview 12:08 - Setting up simple claim in Auth0 login flow 14:53 - Testing Auth0 login flow in React JWT 16:04 - Updating Hasura admin-secret 17:06 - Testing Hasura admin-secret 17:56 - Overview of Hasura jwk_url 20:08 - Updating Hasura jwk_url 21:50 - Testing Hasura jwk_url 22:46 - Outro Cloudspeak, feel free to add timestamps to your video by copying this into the video description :)
Great tutorial indeed! A question for this video: So in reality, one would have a 'production' environment, a 'staging' environment and a 'local' environment, right? Does that mean you need three different auth0 configurations in this similar manner? And is it generally fine for small solo projects to always work from your staging hasura endpoint and skip the ngrok local setup? Asking this because my ngrok doesnt seem to work. (note that I am not using the NPX but the normal CLI)
Hi Rob - thanks, great to hear! Yes, it would be common practice to have seperate Auth0 tentants for each environment (this is Auth0's official recommendation). Although, small solo projects can certainly be more lax, so working straight against staging sounds fine in that context. However, be aware that the lack of a local Hasura instance will be a problem if you want to generate migrations and metadata files to track your database and API schema. This is covered in later videos. Good luck!
this is the best tutoriel on Auth0, it removed a lot of ambiguity that I have around it/
It's almost unbelievable that such a well made tutorial has only 35 views. Thank you for a great intro to using JWT with Hasura!
Thanks Matthew, really appreciate your feedback! It's still early days for the channel but I'm hopeful I can I get that number up a little over time. Glad you enjoyed it, and don't forget to share with anyone you think might be interested :)
I Second that, this tutorial is awesome 🔥
This is really awesome. The official Hasura Tutorial misses steps in its "authorization auth0" part. So this is golden.
Also jumping out from the cloud hasura and using a node hasura enable so much flexibility. Like fetch data from others API's in the same backend. Awesome
0:00 - Introduction
3:10 - Setting up Auth0 Front-End Applications
4:33 - Setting up Auth0 Back-End API for Hasura
5:25 - Overview of React application
7:14 - Configuring React client to use Auth0
8:09 - Testing React client to use Auth0
10:32 - Hasura claims overview
12:08 - Setting up simple claim in Auth0 login flow
14:53 - Testing Auth0 login flow in React JWT
16:04 - Updating Hasura admin-secret
17:06 - Testing Hasura admin-secret
17:56 - Overview of Hasura jwk_url
20:08 - Updating Hasura jwk_url
21:50 - Testing Hasura jwk_url
22:46 - Outro
Cloudspeak, feel free to add timestamps to your video by copying this into the video description :)
This is brilliant. Thank you so much for putting this out!
Fantastic tutorial. Really well done. Thanks so much!
Thanks, really appreciate the feedback!
Thank you for a great Tutorial. And also I agree with Mathew Abrman
Perfect. Earned yourself a subscriber. Thanks.
So useful thank you
Great tutorial indeed! A question for this video:
So in reality, one would have a 'production' environment, a 'staging' environment and a 'local' environment, right?
Does that mean you need three different auth0 configurations in this similar manner? And is it generally fine for small solo projects to always work from your staging hasura endpoint and skip the ngrok local setup? Asking this because my ngrok doesnt seem to work. (note that I am not using the NPX but the normal CLI)
Hi Rob - thanks, great to hear! Yes, it would be common practice to have seperate Auth0 tentants for each environment (this is Auth0's official recommendation). Although, small solo projects can certainly be more lax, so working straight against staging sounds fine in that context. However, be aware that the lack of a local Hasura instance will be a problem if you want to generate migrations and metadata files to track your database and API schema. This is covered in later videos. Good luck!