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

Logout action does not fully work on management UI #11224

Closed
MarcialRosales opened this issue May 14, 2024 · 0 comments
Closed

Logout action does not fully work on management UI #11224

MarcialRosales opened this issue May 14, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@MarcialRosales
Copy link
Contributor

MarcialRosales commented May 14, 2024

Describe the bug

When a user, who authenticated using any other authentication mechanism except OAuth 2.0, clicks on "Logout" button, the user is actually logged out but it is never redirected back to the login page.
The reason is because the logout logic is calling the function go_to_home which is not defined.

Maybe this issue goes unnoticed because the majority of users opt for the default refresh value of "Refresh every 5 seconds". After 5 seconds, the login page is loaded. But if the user chose the option "Do not refresh" then the user is not redirected back to the login page until it clicks on any part of the management ui or refreshes the page.

This has been reproduced in RabbitMQ 3.13.2.

Note: It was a change not back-ported from 3.11.

Reproduction steps

  1. login using username+password
    2.click on logout
    3.the user stays in the management ui. Only when the user refreshes the page, the new loaded page is the login page.
    ...

Expected behavior

when the user clicks on logout, the user's authentication state is cleared and is redirected back to the login page.

Additional context

No response

@MarcialRosales MarcialRosales self-assigned this May 14, 2024
@MarcialRosales MarcialRosales changed the title Logout action does not fully work on management ui Logout action does not fully work on management UI May 14, 2024
@michaelklishin michaelklishin added this to the 3.13.3 milestone May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants