Skip to content

Commit

Permalink
iva-app: Removing sso cookie is now handled by opencga client #TASK-7256
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Dec 9, 2024
1 parent 51399ec commit 1b9a326
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sites/iva/iva-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,9 +692,6 @@ class IvaApp extends LitElement {
// 3. Check if sso is active and logged user is not local
// In this case, we will redirect to 'meta/sso/logout' endpoint
if (this.opencgaClient?._config?.sso?.active && !isLocalUser) {
// eslint-disable-next-line no-undef
Cookies.expire(this.opencgaClient._config.sso.cookie);

const config = this.opencgaClient._config;
const ivaUrl = window.location;
window.location = `${config.host}/webservices/rest/${config.version}/meta/sso/logout?url=${ivaUrl}`;
Expand Down

0 comments on commit 1b9a326

Please sign in to comment.