Hasura Authentication with JWT Firebase and Angular 9 [tutorial, 2020]

preview_player
Показать описание
🎉 Get complete 6,5 Hours Video Course about Hasura for the lowest possible price 🎉
In previous video we learned how to implement #Hasura authentication with Firebase in our Angular application. However we still have an issue that everyone can access our #GraphQL endpoints. In this tutorial we will protect our Hasura with JWT token and will briefly have a look at role-permission access which provides Hasura for us. Also we will see how to add Firebase cloud functions to you project, how to deploy them to the cloud and how to set up custom claims for Firebase user. I hope this video will be useful for you!😉
Thanks you and enjoy watching! 🙏

🕒Time codes:
00:00:43 - Go to Code
00:00:43 - Review Authentication options
00:02:28 - Init Firebase Cloud Functions
00:03:39 - Write first cloud function and set up custom claims
00:08:03 - Getting a token and investigate what's inside
00:09:07 - Attach the token to every Apollo http query
00:12:22 - Enable authentication on Hasura side
00:14:45 - Role-access to Hasura's data
00:18:20 - "First-login" bug
00:19:53 - Fix of "First-login" bug

✅And there are some topics about Angular Material CDK:

🔗Links:
Hasura's home page:
Link to Github repo:
Рекомендации по теме
Комментарии
Автор

Hey, Cloud Funtions in Firebase isn't free now. Can you show us other option to do this?

nataliaachacz
Автор

hi, after securing hasura endpoint, code-gen (video 3 in this series) is broken :/ could you please fix that?

dhlvi
Автор

One question, if I leave my code as u created in the previous lesson, it will be insecure? I don't know about Hasura and wanna know if it's really important for my app to have it. Thank you for your time

pol-dev-vy
Автор

can you build a Flutter + Hasura configuring video please + with firebase authentication

gishanabeysinghe
Автор

Hi can you make authentication in Hasura and vuejs or maybe a combination of firebase auth with vuejs with hasura plz do this!

ravishdhawan
Автор

another video where they do not teach how to work with users with a role other than a "user"

mrfaraway