Content Deep Dive
Building scalable Flutter apps using GraphQL, Hasura and event-driven serverless, Part 2 - Setting up Auth
Blog post from Hasura
Post Details
Company
Date Published
Author
Harsha
Word Count
877
Language
English
Hacker News Points
-
Summary
This tutorial series demonstrates how to build scalable Flutter apps using GraphQL, Hasura, and event-driven serverless. Part 2 focuses on setting up authentication with Firebase services and Hasura. The guide covers enabling Email/Password sign-in method in Firebase, creating custom claims for users during registration, and deploying Firebase functions to sync Firebase users with Hasura. Additionally, it explains how to configure Hasura to switch to JWT mode and decode Firebase user tokens. Finally, the tutorial introduces event triggers as a way to handle cases where client trust is not sufficient or additional business logic is required.