Authentication Flow
1. Landing Page
When users first visit the website, they are greeted with a landing page that includes options to Login or Sign Up. Once they select "Get Started," they are redirected to the appropriate authentication flow.
2. Sign-Up Process
During sign-up, users are required to provide:
- First Name
- Last Name
- Phone number
- Email Address
- Set a Password
Users can alternatively sign up using GitHub or Google for quick registration.
3. Sign-In Process
Users can sign in using one of the following methods:
- Email and Password
- Google Authentication
- GitHub Authentication
4. Forgot Password
If a user forgets their password:
- They can request a password reset by entering their registered email.
- An OTP (One-Time Password) will be sent to their email for verification.
- After OTP verification, the user is given the option to create a new password.
- Once the new password is set, they can continue to log in and get started.
5. First Login
The first login of the platform is reserved for the Super Admin account, which will have access to advanced administrative features.
6. Returning Users
Once a user logs in on a device, they won't be shown the landing page again for subsequent visits from the same device.
Last updated on October 17, 2024