diff options
author | Paul Fertser <fercerpav@gmail.com> | 2024-06-10 11:51:51 +0300 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2024-07-19 20:36:58 +0300 |
commit | 1ff8e89fd2397c468ab0237158e5aeeff2692413 (patch) | |
tree | e713adeddc9b4ce3b6addc7044295988f2e35bfb /src/views/HardwareStatus/Sensors | |
parent | bc49e09187cab43f8564f2adb6b8860544870641 (diff) | |
download | webui-vue-master.tar.xz |
To be able to talk to a Redfish-compliant implementation webui should
switch from old non-standard login and logout endpoints to creating a
Session via an appropriate POST request and to DELETE it on logout. This
also gives us standard Session object with all the relevant parameters
which allows the frontend to know what session it's using, what
permissions it has etc.
This works against bmcweb which checks for the presence of
webui-vue-specific "X-Requested-With" header in the request and provides
cookies in addition to the Redfish authentication token in the header.
Tested: logging in, logging out, navigating the pages, reloading the
page doesn't require logging in (if the session isn't expired),
WebSocket connections work.
Change-Id: I9d6159850b109a658b8f980637653e7e4576058b
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/views/HardwareStatus/Sensors')
0 files changed, 0 insertions, 0 deletions