Skip to content

Commit

Permalink
Fix SSO logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Chapizze committed Dec 5, 2024
1 parent 12f6ad0 commit 18a3478
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frontend/src/services/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ const destroyToken = () => {
.then(() => {
clearUser();
// Conditional SSO logout URLs remain the same
if (window.location.href.includes('pwndoc.osl.amadeus.net'))
document.location.href = 'https://example.com/startSLO.ping';
else
document.location.href = 'https://example.com/idp/startSLO.ping';
})
.catch((err) => {
console.log(err);
Expand Down

0 comments on commit 18a3478

Please sign in to comment.