RocketChat / RocketChat/Rocket.Chat

Opaque login with oauth provider

Open
#11,262 1 comment 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

We are making an integration of RocketChat to our React Native mobile application, so we need to find a way how we can login user to rocketchat automatically. We are using Keycloak and we managed to make it work as oauth provider, when user has to click on button, which redirects him to the KeyCloak login screen.

This is a good start, but we need to proceed the login automatically, because we are already logged in and have a Keycloak token, so we need some way to exchange the Keycloak token for rocketchat token.

Any advice on this?

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

The issue names no repository files or tests. Start by tracing the existing OAuth-provider button flow used by the React Native application and the Keycloak token handoff; done means supporting login with an existing Keycloak token without another redirect.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
authentication, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.