RocketChat / RocketChat/Rocket.Chat

logout issue with iframe integration

Open
#13,536 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When I logout from iframe embedded rocket chat "Iframe URL" doesn't showed despite sso "API URL" return 401 satus code.
This happen with version 0.74.*. With early versions everything correctly run.
Furthermore I noticed that this version calls my sso "API URL" twice, is that right?

Steps to reproduce:
  1. Go to 'Avatar submenu'
  2. Click on 'logout'
Expected behavior:

The login page is loaded into iframe

Actual behavior:

no login page is loaded into iframe

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 tracing the iframe integration logout flow from the Avatar submenu, including the SSO API URL calls described for version 0.74.*. Confirm why logout does not load the login page into the iframe and whether the SSO API is called twice; done means the expected login page loads after logout without an incorrect duplicate call.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.