Many thanks for this overview with the specific implementation steps. It’s notable how many tutorials and articles bypass setting up authentication with GraphQL. I’m still working through the exact steps to implement what was shown here, but having a perspective on how authentications fits in with the whole data workflow for an application is valuable. Thank you.
These tutorials have been very helpful, thanks to the folks at Hasura for making them! Quick question though: can anyone point me to a good article or piece of documentation on how I can go about passing role headers to Hasura dynamically while using React and Apollo Client? Not sure how I can set roles with Auth0 and send them for authorized access in practice based on these videos.
Wow! Genius... So complicated steps )) And not so simple as I think. Very interesting if it can be optimized by scripts. And with free passport.js But anyway thank you! Great video!!!
not getting the access token , using auth0-domain.auth0.com/login?client=client_id&protocol=oauth2&response_type=token%20id_token&redirect_uri=callback_uri&scope=openid%20profile, I am putting the auth0 domain and client-id and callback url, still not getting the access token
Thanks for this video and for this incredible piece of software, Hasura is amazing. How can I make a request to Hasura from Auth0 during the Rule execution to get some metadata information from my database that I want to use to compose the token? The restriction is that I don't want to use admin secret to make the request, neither anonymous queries.
Update: Dont put the HASURA_GRAPHQL_JWT_SECRET env variable on Heroku, instead go to the project details in Hasura itself and add it over there. This took me 0.5 days to find out. NEVER use the HASURA_ADMIN_SECRET in your environment to enforce the authentication! This was a solution I unfortunately saw a few times. full thread on github. @t
@@ardinusawan13 Hi, this is the location to put in the variable. Change your project_id to your project id cloud.hasura.io/project/PROJECT_ID/env-vars See image: imgshare.io/image/add-env-hasura.pjaFNO
This tutorial does cover almost everything that I had a hard time understanding, Thanks a lot Tanmai
Many thanks for this overview with the specific implementation steps. It’s notable how many tutorials and articles bypass setting up authentication with GraphQL. I’m still working through the exact steps to implement what was shown here, but having a perspective on how authentications fits in with the whole data workflow for an application is valuable. Thank you.
If you get a "oops, something went wrong error" at 4:00 try disabling the "OIDC Conformant" setting from Settings -> Show Advanced Settings -> Oauth.
This no longer appears to work.
Could you make an upgrade version of this content.?
Thanks for this awesome tutorial hasura is very promising please do a video on developing a graph ql
backend with hasura locally.Thanx love from Pune
am I stuck with Auth0, what if I don't want to use it and instead want to use custom jwt nodejs api ?? how to use that ?
These tutorials have been very helpful, thanks to the folks at Hasura for making them! Quick question though: can anyone point me to a good article or piece of documentation on how I can go about passing role headers to Hasura dynamically while using React and Apollo Client? Not sure how I can set roles with Auth0 and send them for authorized access in practice based on these videos.
Great overview. Would you happen to know of an example that sets different roles for different users? for example: user, admin, superadmin
Wow! Genius... So complicated steps )) And not so simple as I think. Very interesting if it can be optimized by scripts. And with free passport.js But anyway thank you! Great video!!!
Yes!
I wish Auth0 had a quick test URL for their universal web login. That would make things SO much easier :)
Hasura Maybe we can inform them to do this?
Hot damn this was perfectly timed I love you guys. :D
Any chances of this tutorial being updated?
Does this tutorial applicable in react native?
not getting the access token , using auth0-domain.auth0.com/login?client=client_id&protocol=oauth2&response_type=token%20id_token&redirect_uri=callback_uri&scope=openid%20profile, I am putting the auth0 domain and client-id and callback url, still not getting the access token
Hi I don't seem to have a query param for accesstoken
Thanks for this video and for this incredible piece of software, Hasura is amazing.
How can I make a request to Hasura from Auth0 during the Rule execution to get some metadata information from my database that I want to use to compose the token?
The restriction is that I don't want to use admin secret to make the request, neither anonymous queries.
we need for firebase also
Update: Dont put the HASURA_GRAPHQL_JWT_SECRET env variable on Heroku, instead go to the project details in Hasura itself and add it over there. This took me 0.5 days to find out. NEVER use the HASURA_ADMIN_SECRET in your environment to enforce the authentication! This was a solution I unfortunately saw a few times.
full thread on github. @t
Hi can you help me? I strugle with it. Can we pair? 🙏
@@ardinusawan13 Hi, this is the location to put in the variable. Change your project_id to your project id
cloud.hasura.io/project/PROJECT_ID/env-vars
See image:
imgshare.io/image/add-env-hasura.pjaFNO
@@thechen6985 wait what..why?
If you are hosting on Heroku and NOT on Hasura Cloud then Heroku Env Vars is absolutely the right place to put it.