RocketChat / RocketChat/Rocket.Chat

Problem with login after update from 5.4.10 to 6.2.0

Open
#29,388 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feat: oauth / sso type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

After update Rocket.Chat server to version 6.2.0 SAML login stop woking when 2FA enabled. If I disable 2FA login work correct.

Steps to reproduce:

Udate Rocket.Chat server from 5.4.10 to 6.2.0

Expected behavior:

After pressing the "sign in" button, an email is sent with an additional authorization code.

Actual behavior:

After pressing the "sign in" button, it returns cyclically to the start page with an offer to log in.

Server Setup Information:
  • Version of Rocket.Chat Server: 6.2.0
  • Operating System: Rocky 8.8
  • Deployment Method: docker
  • NodeJS Version: v14.21.3
  • MongoDB Version: 5.0.18
Client Setup Information
  • Desktop App or Browser Version: Decktop App v3.9.4 or any Browser
  • Operating System: Windows
Additional context
Relevant logs:

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

No files, tests, or entry points are identified in the report. Start by reproducing the SAML login flow after upgrading from 5.4.10 to 6.2.0 with 2FA enabled, then collect the server and browser logs; done means login completes and the additional authorization code is sent.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mongodb, node.js, typescript
Domain
authentication, backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.