RocketChat / RocketChat/Rocket.Chat

livechat on login page jumps to home page

Open
#2,559 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

subj: livechat type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Your Rocket.Chat version: 0.22.0 latest dev

I'm having an issue if I use the generated livechat script in the layout - custom script logged out users.

The chat works but when the guest sends the first message the page jumps to /home. The login form is then no longer available.

My goal is to require manual approval and the livechat would be a good way to get moderators attention.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the generated livechat script on a login page with a logged-out guest, then inspect the livechat and login-page entry points involved when the first message is sent. Done means the guest can send that message without being redirected to /home, while the login form remains available.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.