Build custom signup behavior with blocking serverless functions
Blocking functions give you more control over the entire authentication process allowing you to reject users if they don’t match a specific criteria. In this video, David explains what blocking serverless functions are.
Chapters:
0:00 - Why block a function?
0:41 - A traditional serverless function set up
1:26 - Blocking before a user is created
1:52 - Rejecting users with HttpsError
2:31 - Blocking before a user signs in
3:14 - Accepting a valid user
4:04 - Custom claims are amazing and you should use them
4:16 - Deploying
4:31- Registering blocking functions in the console
4:53 - Seeing it in action
5:00 - What else do you want to see?!
Resources:
Auth blocking functions documentation → https://goo.gle/3pG6lGL
Custom claims documentation → https://goo.gle/3riTSJL
Catch more videos → https://goo.gle/Firebase-Fundamentals
Subscribe to Firebase → https://goo.gle/Firebase
#FirebaseFundamentals
Firebase
The Youtube channel for all things Firebase! Learn how to build awesome apps with hands-on tutorials from the Firebase team. Firebase helps you build better mobile apps and grow your business....