RocketChat / RocketChat/Rocket.Chat
From v7.4 `logout` is not responding with JSON
Open
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 testing the REST API, when trying to logout, the API does no longer respond with JSON but still returns a 200.
Steps to reproduce:
- Call login to get your authentication token (https://developer.rocket.chat/apidocs/login-with-username-and-password)
- Call logout with the token you got from login (https://developer.rocket.chat/apidocs/logout)
Expected behavior:
Logout responds JSON following the schema present in the documentation:
Actual behavior:
Logout responds with 200 but the response body is empty
Server Setup Information:
- Version of Rocket.Chat Server: 7.4.0, 7.4.2, 7.5.1
- License Type:
- Number of Users:
- Operating System:
- Deployment Method: Docker
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version: 5
Client Setup Information
- Desktop App or Browser Version:
- Operating System: Docker
Additional context
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the login and logout calls using the linked REST API documentation and the reported Rocket.Chat versions. Compare the logout response with the documented JSON schema; the work is done when logout still returns HTTP 200 with the expected JSON body.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100