Video by Joel Loh | AI Automations · streamed from YouTube. All rights remain with the creator.
Lesson 2: Email Authentication with FlutterFlow and Supabase
About this lesson
In this first building video of the series, Joel Loh implements email authentication for the photo-sharing app using FlutterFlow and Supabase, showing how straightforward it is to create login and sign-up pages and a complete authentication workflow. It begins by creating a new FlutterFlow project, the starting point for every page that follows. You then link Supabase Authentication to the project, so that the accounts created in the app are stored and managed by Supabase. A user action is created so that the necessary information about each new user is handled when someone signs up. The video then designs the login page, with the fields and buttons a user needs to sign in, and connects it to the authentication actions. A first test checks that signing up and logging in work as expected and shows what happens behind the scenes. Because reliable emails matter for confirming accounts, the video sets up a custom SMTP server for sending the authentication emails, rather than relying only on the default service, which makes the app behave more like a production app. A final test confirms that the whole workflow works from start to finish, and a final change tidies up the flow. By the end of the video, the app has a working email authentication system, the foundation for the user interface and database features built in the following parts. The series is designed for beginners without extensive coding knowledge. Afterwards, read Chapter 2 of the course book, which works through the safety of codes and link expiry by hand.