Skip to content

[BUG] : Incorrect Home tab routing and unauthorized chat page access #97

@kaival775

Description

@kaival775

Describe the bug

Navigation routing issue where clicking the "Home" tab in the navbar incorrectly redirects users directly to the chat page, and the chat page is accessible without proper authentication.

To Reproduce

Steps to reproduce the behavior:

  1. Open the application in a browser
  2. Click on the "Home" tab in the navigation bar
  3. Observe that it redirects to /chat instead of the home/landing page
  4. Try accessing /chat directly without being logged in
  5. Notice that unauthenticated users can access the chat page

Expected behavior

Clicking "Home" should redirect to the landing page (/ or /home)

The chat page (/chat) should only be accessible to authenticated users

Unauthenticated users attempting to access /chat should be redirected to the login page

##Screenshots

I cant show this issue using SS. Please checkout the website and try to reproduce the issue I described.

Additional context

  • This appears to be a routing configuration issue where:
  • The "Home" navigation link is incorrectly mapped to /chat instead of the landing page
  • Missing authentication guards/protected routes for the chat functionality
  • Need to implement proper route protection to ensure only logged-in users can access chat features

Can I solve this issue?? @devayanm asign it to me...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions