Feature #31397
open
Added by Subana Shahul 4 months ago.
Updated 4 months ago.
Due date:
12/19/2025 (about 4 months late)
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
- Status changed from Assigned to In Progress
- % Done changed from 0 to 60
- Implemented B2B login form with username & password fields and client-side validation.
- Integrated token API request for user authentication.
- Stored auth token and expiry time in cookies after successful login.
- Added post-login redirect to homepage upon successful authentication.
- Configured agent vs non-agent login flow using environment key for conditional handling.
- % Done changed from 60 to 80
- Updated and completed the B2B login flow, including successful redirection to homepage based on environment-driven conditions.
- Addressed intermediate project-level issues (path-related) that caused temporary blockers during implementation.
- Re-aligned the implementation by moving changes to a fresh feature branch to match the expected codebase structure.
- Verified that B2B login and related conditions are working correctly; further post-login API validation is pending.
- Began reviewing the on-behalf booking flow for agent users and understanding required changes in the current system.
- Referred to an existing project codebase provided for functional reference.
- Faced local environment issues (WAMP / PHP / Laravel setup) while running the reference project; support team assisted with the setup.
- After setup, encountered an authentication-related issue in the reference project, limiting further flow verification for now.
- Fixed issues in the reference project setup, including resolving cURL-related path/configuration problems, and successfully ran the project.
- Started implementing the on-behalf user flow for agent users in the current application.
- Integrated getAgencies API on successful login to support agency selection.
- Continued working on remaining flow logic and related UI changes.
- Agency listing API integration after successfull login
- On Behalf popup creation an related work flows related to agency flow implmeentation in progress
- Designed and implemented Agency & Agent selection popup UI for On-Behalf booking.
- Integrated required APIs to fetch agencies and agents dynamically.
- Handled selection flow and submit action from the popup.
- Next step: persist selected agency/agent data for reuse across related APIs.
Also available in: Atom
PDF