Project

General

Profile

Actions

Feature #31397

open

Feature #30648: Nextjs - Middleware settings

Feature #31396: B2b Flow

Login form

Added by Subana Shahul 4 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
12/18/2025
Due date:
12/19/2025 (about 4 months late)
% Done:

80%

Estimated time:
16:00 h
Spent time:
remarks:
DB Changes:
Keys & Permissions:
Areas Affected:
Files Changed:

Description

Form fields - username ,password
Form validation
Token request - Api call
Update token and expiry time in cookie
Request to get user permissions
Load Home page after login

Actions #1

Updated by Shameel M 4 months ago

  • Status changed from Assigned to In Progress
Actions #2

Updated by Shameel M 4 months ago

  • % Done changed from 0 to 60
  1. Implemented B2B login form with username & password fields and client-side validation.
  2. Integrated token API request for user authentication.
  3. Stored auth token and expiry time in cookies after successful login.
  4. Added post-login redirect to homepage upon successful authentication.
  5. Configured agent vs non-agent login flow using environment key for conditional handling.
Actions #3

Updated by Shameel M 4 months ago

  • % Done changed from 60 to 80
  1. Updated and completed the B2B login flow, including successful redirection to homepage based on environment-driven conditions.
  2. Addressed intermediate project-level issues (path-related) that caused temporary blockers during implementation.
  3. Re-aligned the implementation by moving changes to a fresh feature branch to match the expected codebase structure.
  4. Verified that B2B login and related conditions are working correctly; further post-login API validation is pending.
Actions #4

Updated by Shameel M 4 months ago

  1. Began reviewing the on-behalf booking flow for agent users and understanding required changes in the current system.
  2. Referred to an existing project codebase provided for functional reference.
  3. Faced local environment issues (WAMP / PHP / Laravel setup) while running the reference project; support team assisted with the setup.
  4. After setup, encountered an authentication-related issue in the reference project, limiting further flow verification for now.
Actions #5

Updated by Shameel M 4 months ago

  1. Fixed issues in the reference project setup, including resolving cURL-related path/configuration problems, and successfully ran the project.
  2. Started implementing the on-behalf user flow for agent users in the current application.
  3. Integrated getAgencies API on successful login to support agency selection.
  4. Continued working on remaining flow logic and related UI changes.
Actions #6

Updated by Shameel M 4 months ago

  1. Agency listing API integration after successfull login
  2. On Behalf popup creation an related work flows related to agency flow implmeentation in progress
Actions #7

Updated by Shameel M 4 months ago

  1. Designed and implemented Agency & Agent selection popup UI for On-Behalf booking.
  2. Integrated required APIs to fetch agencies and agents dynamically.
  3. Handled selection flow and submit action from the popup.
  4. Next step: persist selected agency/agent data for reuse across related APIs.
Actions

Also available in: Atom PDF