]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: securely store remote cluster token 56237/head
authorNizamudeen A <nia@redhat.com>
Sat, 16 Mar 2024 11:24:22 +0000 (16:54 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 18 Mar 2024 05:54:16 +0000 (11:24 +0530)
commit35a3e6d8edd97ae6ff237e3e39f9edefc4d48cbf
tree26788b9ac4dd4968d4e40711f879fcffe0306c21
parent758a0bcef580423c63cc9f121dc3fb2af692dc39
mgr/dashboard: securely store remote cluster token

Instead of using the localStorage use cookies for storing the token more
securely

Fixes: https://tracker.ceph.com/issues/64958
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/package-lock.json
src/pybind/mgr/dashboard/frontend/package.json
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/multi-cluster/multi-cluster-list/multi-cluster-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/cookie.service.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/services/cookie.service.ts [new file with mode: 0644]