[GH-ISSUE #4322] [feature]: Multi-account switcher #1572

Open
opened 2026-03-16 20:53:14 +03:00 by kerem · 12 comments
Owner

Originally created by @GetPsyched on GitHub (Sep 2, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4322

Is there an existing issue for this?

  • I have searched the existing issues

Summary

Be able to switch accounts without logging out

Why should this be worked on?

Having to log out any time I have to switch accounts and then log back in is frustrating. But it is manageable, probably worth keeping this is low priority unless others request it.

Originally created by @GetPsyched on GitHub (Sep 2, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4322 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary Be able to switch accounts without logging out ### Why should this be worked on? Having to log out any time I have to switch accounts and then log back in is frustrating. But it is manageable, probably worth keeping this is low priority unless others request it.
Author
Owner

@liyasthomas commented on GitHub (Sep 3, 2024):

Good request 👍

<!-- gh-comment-id:2325575085 --> @liyasthomas commented on GitHub (Sep 3, 2024): Good request 👍
Author
Owner

@SuperALKALINEdroiD commented on GitHub (Sep 10, 2024):

is it possible that I can start doing something on it?

<!-- gh-comment-id:2340427918 --> @SuperALKALINEdroiD commented on GitHub (Sep 10, 2024): is it possible that I can start doing something on it?
Author
Owner

@Olly4k commented on GitHub (Oct 9, 2024):

Hi, I'm currently looking for issues as part of a university course. Is this issue still available? I'd like to have a go.

<!-- gh-comment-id:2401029127 --> @Olly4k commented on GitHub (Oct 9, 2024): Hi, I'm currently looking for issues as part of a university course. Is this issue still available? I'd like to have a go.
Author
Owner

@Olly4k commented on GitHub (Oct 20, 2024):

I've had a look through the current account system in hoppscotch and have come up with the following temporary solution. There should be a button added just above the logout of profile button in the UI. This will display the login modal used when logging into an account. Then when a login option is selected the current user is logged out and the standard login system occurs. Of course this isn't a true account switching mechanism but since any accounts previously logged into will remain linked to hoppscotch, this will decrease the need to logout explicitly and then back in. It will streamline the process a bit for you. I'll put a PR with the proposed changes up soon.

<!-- gh-comment-id:2424644787 --> @Olly4k commented on GitHub (Oct 20, 2024): I've had a look through the current account system in hoppscotch and have come up with the following temporary solution. There should be a button added just above the logout of profile button in the UI. This will display the login modal used when logging into an account. Then when a login option is selected the current user is logged out and the standard login system occurs. Of course this isn't a true account switching mechanism but since any accounts previously logged into will remain linked to hoppscotch, this will decrease the need to logout explicitly and then back in. It will streamline the process a bit for you. I'll put a PR with the proposed changes up soon.
Author
Owner

@SuperALKALINEdroiD commented on GitHub (Oct 20, 2024):

I was thinking almost the same, Can I work with you on this?

-------- Original Message --------
On 10/20/24 11:55, Oliver Ross wrote:

I've had a look through the current account system in hoppscotch and have come up with the following temporary solution. There should be a button added just above the logout of profile button in the UI. This will display the login modal used when logging into an account. Then when a login option is selected the current user is logged out and the standard login system occurs. Of course this isn't a true account switching mechanism but since any accounts previously logged into will remain linked to hoppscotch, this will decrease the need to logout explicitly and then back in. It will streamline the process a bit for you. I'll put a PR with the proposed changes up soon.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:2424661660 --> @SuperALKALINEdroiD commented on GitHub (Oct 20, 2024): I was thinking almost the same, Can I work with you on this? -------- Original Message -------- On 10/20/24 11:55, Oliver Ross wrote: > I've had a look through the current account system in hoppscotch and have come up with the following temporary solution. There should be a button added just above the logout of profile button in the UI. This will display the login modal used when logging into an account. Then when a login option is selected the current user is logged out and the standard login system occurs. Of course this isn't a true account switching mechanism but since any accounts previously logged into will remain linked to hoppscotch, this will decrease the need to logout explicitly and then back in. It will streamline the process a bit for you. I'll put a PR with the proposed changes up soon. > > — > Reply to this email directly, [view it on GitHub](https://github.com/hoppscotch/hoppscotch/issues/4322#issuecomment-2424644787), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/APMVSJBFHB4NN24TE55NPO3Z4NEEHAVCNFSM6AAAAABNQXJO5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUGY2DINZYG4). > You are receiving this because you commented.Message ID: ***@***.***>
Author
Owner

@SanskritiHarmukh commented on GitHub (Oct 21, 2024):

I've had a look through the current account system in hoppscotch and have come up with the following temporary solution. There should be a button added just above the logout of profile button in the UI. This will display the login modal used when logging into an account. Then when a login option is selected the current user is logged out and the standard login system occurs. Of course this isn't a true account switching mechanism but since any accounts previously logged into will remain linked to hoppscotch, this will decrease the need to logout explicitly and then back in. It will streamline the process a bit for you. I'll put a PR with the proposed changes up soon.

Hey @Olly4k and @SuperALKALINEdroiD , Thank you for showing interest in contributing! For now, this issue involves some backend work, so our internal team will be handling it later. However, feel free to explore other open issues in the repo. We'd love to see your contributions.

<!-- gh-comment-id:2426212283 --> @SanskritiHarmukh commented on GitHub (Oct 21, 2024): > I've had a look through the current account system in hoppscotch and have come up with the following temporary solution. There should be a button added just above the logout of profile button in the UI. This will display the login modal used when logging into an account. Then when a login option is selected the current user is logged out and the standard login system occurs. Of course this isn't a true account switching mechanism but since any accounts previously logged into will remain linked to hoppscotch, this will decrease the need to logout explicitly and then back in. It will streamline the process a bit for you. I'll put a PR with the proposed changes up soon. Hey @Olly4k and @SuperALKALINEdroiD , Thank you for showing interest in contributing! For now, this issue involves some backend work, so our internal team will be handling it later. However, feel free to explore other open issues in the repo. We'd love to see your contributions.
Author
Owner

@GetPsyched commented on GitHub (Oct 21, 2024):

Would it not be possible to delve into back-end code as well? If they're interested in being more involved, I think it's better to allow code contributions without blocking on core maintainers -- they can chime in once a draft PR is made to give some direction.

What do you think?

<!-- gh-comment-id:2426267266 --> @GetPsyched commented on GitHub (Oct 21, 2024): Would it not be possible to delve into back-end code as well? If they're interested in being more involved, I think it's better to allow code contributions without blocking on core maintainers -- they can chime in once a draft PR is made to give some direction. What do you think?
Author
Owner

@liyasthomas commented on GitHub (Oct 21, 2024):

The current evolution of Hoppscotch is to be a platform-agnostic architecture. But as of now, it has several versions: the community edition, the enterprise edition that is self-hosted, the cloud edition, even their desktop app counterparts.

While remembering and suggesting previous user sessions might sound like a trivial feature, completely implemented state management across our platforms can be, in itself, one of the more significant challenges.

<!-- gh-comment-id:2426378024 --> @liyasthomas commented on GitHub (Oct 21, 2024): The current evolution of Hoppscotch is to be a platform-agnostic architecture. But as of now, it has several versions: the community edition, the enterprise edition that is self-hosted, the cloud edition, even their desktop app counterparts. While remembering and suggesting previous user sessions might sound like a trivial feature, completely implemented state management across our platforms can be, in itself, one of the more significant challenges.
Author
Owner

@liyasthomas commented on GitHub (Oct 21, 2024):

@Olly4k while our internal team is planning to address this in the near future, if you'd like to explore the feature and spin up something related, we'd be happy to offer guidance and support along the way. Just keep in mind that the solution needs to be compatible with our cloud, self-hosted, and desktop platforms to ensure consistency.

<!-- gh-comment-id:2426379272 --> @liyasthomas commented on GitHub (Oct 21, 2024): @Olly4k while our internal team is planning to address this in the near future, if you'd like to explore the feature and spin up something related, we'd be happy to offer guidance and support along the way. Just keep in mind that the solution needs to be compatible with our cloud, self-hosted, and desktop platforms to ensure consistency.
Author
Owner

@Olly4k commented on GitHub (Oct 21, 2024):

@liyasthomas To ensure consistency across platforms would it be enough to limit changes to just the hoppscotch-common directory as it seems to be used by all platforms? Also is there a preferred method of contact we can discuss this further on?

<!-- gh-comment-id:2426406202 --> @Olly4k commented on GitHub (Oct 21, 2024): @liyasthomas To ensure consistency across platforms would it be enough to limit changes to just the hoppscotch-common directory as it seems to be used by all platforms? Also is there a preferred method of contact we can discuss this further on?
Author
Owner

@liyasthomas commented on GitHub (Oct 21, 2024):

@Olly4k Join our Discord: http://hoppscotch.io/discord

<!-- gh-comment-id:2426411739 --> @liyasthomas commented on GitHub (Oct 21, 2024): @Olly4k Join our Discord: http://hoppscotch.io/discord
Author
Owner

@Olly4k commented on GitHub (Oct 21, 2024):

@liyasthomas I've just created a forum post on the discord.

<!-- gh-comment-id:2426445379 --> @Olly4k commented on GitHub (Oct 21, 2024): @liyasthomas I've just created a forum post on the discord.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1572
No description provided.