Project

General

Profile

Actions

Task #166

open

Google Authentication & Registration Flow Enhancement

Added by Varsha N about 2 months ago.

Status:
New
Priority:
High
Assignee:
Start date:
03/11/2026
Due date:
03/12/2026 (54 days late)
% Done:

0%

Estimated time:

Description

Public Authentication & Registration Flow Enhancement

Implement an enhanced authentication and registration flow in frontend_public supporting Employer and Freelancer users, including Google authentication, email OTP verification, and password recovery.

Add a “Register / Get Started” button on the public frontend that redirects users to a selection page displaying two animated options: Employer and Freelancer.

When the user selects Employer, redirect them to the Employer Registration page. At the top of this page, display a message such as “Don’t have a company registered yet?” with an option to Register Company. The employer registration form should include a dropdown listing existing company names, allowing the employer to select their company. If the company is not listed, the user should be able to proceed to Company Registration, complete it, and then continue with employer registration. After submitting the employer registration form, the system should send an OTP to the registered email address for verification before activating the account.

When the user selects Freelancer, redirect them to a Freelancer Authentication page that includes both Sign In and Sign Up options. New freelancers can register through the Sign Up form, while existing freelancers can log in using the Sign In form. During freelancer registration, implement OTP verification via email to validate the user’s account before activation.

Both employer and freelancer authentication pages should include a “Continue with Google” option, allowing users to log in or register using Google OAuth. If the Google account email already exists in the system, the user should be logged in automatically; otherwise, a new account should be created and linked with the Google authentication provider.

On the login page, implement a “Forgot Password” option that allows users to reset their password using an email-based OTP verification process.

Additionally, review and update the employer_profile and freelancer_profile tables if necessary to store any additional details required for this authentication flow (such as authentication provider, verification status, or related identifiers). Ensure proper validation, secure OTP handling, and role-based redirection so that employers are redirected to the Employer Dashboard and freelancers to the Freelancer Dashboard after successful authentication.

No data to display

Actions

Also available in: Atom PDF