Updating user password via management UI sometimes displays a "not authorized" error but the password is updated after all #15047
-
Describe the bugWhen you try to update your password in the rabbit mq dashboard, it will say "not authorised", and you have to refresh the page and sign back in with the new password. It should give an appropriate confirmation, and/or instructions on what to do next (refresh the page) Reproduction steps
Expected behaviorWhen the user successfully updates their password, it should give an appropriate confirmation message, and perhaps include a button that links back to the sign in page, rather than the user having to refresh the page themselves Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
@yoelgal we do not guess in this community. You haven't even mentioned what version you are trying with, and what permissions, tags your user has. I cannot reproduce with a user tagged as It can be that the UI has updated (using the old credentials) concurrently with a password request. A request with previous credentials will fail as "not authorized" immediately after credential changes. |
Beta Was this translation helpful? Give feedback.

@JoeriGithub thank you, I think I know what's going on right from the screenshot.
Overriding Default User Credentials and Configuration Value Encryption provide a secure workaround,
plus a definition import can be used to import N users with pre-configured credentials at node boot or on a running node.
Why is the Error Displayed?
There are two competing requests, one updates the password and the other that updates the users page (table) but happens to use the original credentials until the other request completes.
Not sure if there'd be a short term solution but by
4.4.0the UI will be modernized and that would be a good moment to make sure such competing requests, responses do not produc…