MSAL Angular: logoutRedirect() in one app signs out another, even with different clientIds
Hello!
I have multiple Angular applications hosted under the same domain but in different paths:
https://my-domen/one
https://my-domen/two
https://my-domen/three
Each application is configured with MSAL for authentication, and tokens are stored in localStorage.
Problem: When I call logout from one application, it automatically logs the user out from all the other applications as well.
What I tried:
Passing the current account to the logout method — but this did not solve the issue.
Question: How can I implement logout so that only the current application is signed out, without affecting the others?
Any help or recommendations would be greatly appreciated.
Thanks!