Member-only story
Creating a Password Reset Flow with AppWrite and Flutter | Code On The Rocks
Arguably the most important feature of any mobile application is its authentication workflow. If users can’t log into your application consistently across devices, the chances of them sticking around are slim to none. In this article, I’ll explain how you can create a password reset sequence in your Flutter app using the AppWrite BaaS. The workflow requires 4 screens:
- A Sign In Screen
- A Sign Up Screen
- A Forgot Password Screen
- A Reset Password Screen
Sign In and Sign Up
Before users need to reset their password, they typically need to create one. AppWrite’s Account API supports users creating accounts with an email and password so that’s where we’ll start.
If you haven’t already created an AppWrite project, you can do so by clicking “Create Project” in your AppWrite console.
Once you have setup your AppWrite project, navigate to the Settings tab of the Auth activity and verify that the “Email/Password” switch is enabled. This is turned on by default so you shouldn’t need to do anything extra to get started.