summaryrefslogtreecommitdiff
path: root/src/assets/images
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2024-06-10 11:51:51 +0300
committerPaul Fertser <fercerpav@gmail.com>2024-07-19 20:36:58 +0300
commit1ff8e89fd2397c468ab0237158e5aeeff2692413 (patch)
treee713adeddc9b4ce3b6addc7044295988f2e35bfb /src/assets/images
parentbc49e09187cab43f8564f2adb6b8860544870641 (diff)
downloadwebui-vue-master.tar.xz
Switch to standard Redfish auth endpointHEADmaster
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/assets/images')
0 files changed, 0 insertions, 0 deletions