RocketChat / RocketChat/Rocket.Chat

Auto-Redirect user when using SSO

Open
#20,775 2 comments 3 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:
Steps to reproduce:
  1. Rocketchat
  2. SSO button
  3. It logs you in.
Expected behavior:
Hello i use SSO (keycloac with openID).

So when a user visits rocket.chat he is already signed in 100% of the times .
Right now when he visits rocket.chat he needs to press the SSO button to get logged in.
Anyone has a fix on how to automate this so when the user visits rocket.chat it auto logs him in without pressing the button.
I have made the installation using snaps if that helps.
Actual behavior:
Server Setup Information:
  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
Client Setup Information
  • Desktop App or Browser Version:
  • Operating System:
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

Start by reproducing the flow from the Rocket.Chat landing page through the SSO button using Keycloak with OpenID. Trace the authentication entry point and determine the expected behavior when an existing SSO session is present; done means a returning user is redirected and logged in without pressing the button.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication
Issue type
Feature
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.