Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Unable to log out a user in reality; it only deletes the ec_token but never invalidates the authToken on the RC server. #461

Closed
Spiral-Memory opened this issue Feb 12, 2024 · 0 comments · Fixed by #462
Labels
bug Something isn't working

Comments

@Spiral-Memory
Copy link
Contributor

Description:

In Embedded Chat, the system is unable to log out the user, and the API call to /api/v1/logout fails. This issue results in the continued receipt of messages even after the user has logged out.

Steps to reproduce:

  1. Set up the embedded chat and log in.
  2. Log out from the embedded chat and remain on the login screen.
  3. Send a message from the Rocket Chat main app, and the embedded chat will still receive messages.
  4. Additionally, one can view the console log to observe the issue: "Fails to logout."

Expected behavior:

  1. The authToken must be invalidated on the RC server as well by calling the logout endpoint.

Actual behavior:

  1. AuthToken not invalidated on the server.
  2. Able to receive messages even after logout.
  3. Console errors show that it fails to logout.
2024-02-12.15-49-59.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant