RocketChat / RocketChat/Rocket.Chat

OAuth user with no email can't view/edit their profile

Open
#26,221 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:

I'm using OAuth so users doesn't have e-mail set by default.
I believe that's the reason why
https://openhive.chat/account/profile doesn't load for them

Steps to reproduce:
  1. Use OAuth login with no e-mail
  2. Go to "My Account" (https://openhive.chat/account/profile)
Expected behavior:

User profile loads.

Actual behavior:

Empty page (div#react-root)

Server Setup Information:
  • Version of Rocket.Chat Server: 4.8.1
  • Operating System: Ubuntu
  • Deployment Method: Manual
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: v14.20.0
  • MongoDB Version: 5.0.9
Client Setup Information
  • Desktop App or Browser Version: stable chromium
  • Operating System: n/a
Additional context
Relevant logs:

image

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 issue at https://openhive.chat/account/profile after an OAuth login without an email, and inspect why div#react-root remains empty. Confirm the profile both loads and can be edited for that account, then verify the same page still works for users with email addresses.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.