split oidc into server and clients

This commit is contained in:
Girish Ramakrishnan
2025-06-11 22:00:09 +02:00
parent 5d4eef50e4
commit 1ca8eeeb50
17 changed files with 255 additions and 171 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ function create() {
async logout() {
// attempt to destroy oidc session in the spirit of true SSO
// eslint-disable-next-line no-empty, no-unused-vars
try { await fetcher.del(`${API_ORIGIN}/api/v1/oidc/sessions`, null, { access_token: accessToken }); } catch (e) {}
try { await fetcher.del(`${API_ORIGIN}/api/v1/profile/sessions`, null, { access_token: accessToken }); } catch (e) {}
localStorage.removeItem('token');