You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minhal-111
changed the title
[BUG] Window reloads while executing any API in dev tools whose payload is not allowed
[BUG] Window reloads while executing any API in dev tools whose payload is not allowed with error:
Nov 28, 2024
Minhal-111
changed the title
[BUG] Window reloads while executing any API in dev tools whose payload is not allowed with error:
[BUG] Window reloads while executing any API in dev tools whose payload is not allowed
Nov 28, 2024
dblock
transferred this issue from opensearch-project/OpenSearch
Dec 2, 2024
According to the current implementation of dev tools proxy API will reuse the same status code from OpenSearch, I guess the API return 401 for not allowed requests.
It will be caught in the security dashboards plugin and trigger a window reload when status code is 401 according the implementation.
This reload logic will be used when config.ui.autologout is enabled, you can try to add opensearch_security.ui.autologout: false to config/opensearch_dashboards.yml to disable this automatic reload.
Describe the bug
When attempting to execute any API in the Dev Tools with a payload that is not allowed, the screen not only throws an exception but also reloads
Related component
Build
To Reproduce
Execute any API in dev tools whose payload is not allow :
For e.g-
I understand that there are some APIs which can not be executed by the users however it should only throw an error and not reload the window/tab.
Expected behavior
Error should appear on the output screen without the tab being reloaded
Additional Details
No response
The text was updated successfully, but these errors were encountered: