osparc-simcore icon indicating copy to clipboard operation
osparc-simcore copied to clipboard

Fix logout behavior: when a user logs out from one product, it should not log them out from all products

Open matusdrobuliak66 opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

User Story

Support users being part of multiple products

Fix logout behavior: when a user logs out from one product, it should not log them out from all products

Definition of Done

No response

matusdrobuliak66 avatar Apr 14 '25 11:04 matusdrobuliak66

Context: multiple unrelated products will be within the same deploy. Users logging out from one will logout from another.

  • This is by design: If multiple products are deployed, users have access to either lite/science or pro versions but not both.
  • Think of google account. If you logout in google drive, you also logout from any of its services and even third parties.
  • A way to go would be to advertise that this is one account gives you access to all

pcrespov avatar Jul 15 '25 09:07 pcrespov

This is by design. If multiple products are deployed, users have access to either lite/science or pro versions but not both

@pcrespov Yes, but now there will be situations where some users have access to both oSparc and Sim4Life. So this behavior should be revised.

matusdrobuliak66 avatar Jul 15 '25 09:07 matusdrobuliak66

@giancarloromeo @matusdrobuliak66 Q: What happens when you sign out of your Google account? You’re logged out of every site that uses it for authentication (not only google products but any site!). That’s also how osparc currently works. The only mismatch is that we don’t explicitly present the user as having a ā€œglobal z43-wideā€ account.

So I still don’t think this issue is necessary. I’d prefer moving toward the z43-wide account model. A shorthand would be to write in the login "z43 user account email"

And this isn’t a bug — the behavior is intentional. If anything, it’s a spec redesign.

pcrespov avatar Dec 03 '25 10:12 pcrespov