The rocket.chat login page is displayed in the block

Created on 12 March 2024, 4 months ago

Problem/Motivation

I'm testing with rocket.chat 6.2.11 (login does not working with 6.6.3) and Drupal 10.2.3, I have previously synchronized Drupal users with rocket.chat, and I have placed the "Chat user block" in the sidebar region. The problem is the following: when I login in Drupal the first page I see in the block is the rocket.chat login page requesting username and password, if I click on the refresh link above the iframe or go to another page in Drupal the block with the iframe shows the expected page: /directory/channels

I have tried to fix it without success, I edited the template: web/modules/contrib/rc/templates/rc-user-block.html.twig, at the end of the ChatLoginUser function I have tried to refresh the iframe, but when I tested it, the iframe refreshes continuously.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡½Mexico ovilla

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024