Unable to rereach settings page in UI after entering invalid ACL token #2370
Labels
archived/webui
This was used for v1/ui
theme/acls
ACL and token generation
type/bug
Feature does not function as expected
consul info
for both Client and ServerOperating system and Environment details
Reproducible on any OS since it is part of the UI.
Description of the Issue (and unexpected/desired result)
If someone types in an incorrect token on the settings page, as soon as they navigate to the Key/Value page they get a 403 with no opportunity to go back. if they try to navigate back in their browser to the settings page, that page returns a 403 as well and the only solution is to clear the website's local storage in the browser which is far from ideal.
The browser's console shows a 403 request to
http://localhost:8500/v1/internal/ui/nodes?dc=DATACENTER&token=INVALID_TOKEN
but I would think that shouldn't cause the entire page to fail to render.Reproduction steps
token
key from the website's local storage.It'd be nice if the settings page didn't fail to load just because the request to /v1/internal/ui/nodes returned a 403. That way users could modify their token rather than having to resort to dev tools to reset their state and try again (think of a typical web application with an 'invalid credentials' error message during the login process rather than just ceasing to function altogether).
The text was updated successfully, but these errors were encountered: