Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Switch accounts #689

Open
fmerian opened this issue Mar 15, 2024 · 3 comments
Open

[FEAT] Switch accounts #689

fmerian opened this issue Mar 15, 2024 · 3 comments

Comments

@fmerian
Copy link
Contributor

fmerian commented Mar 15, 2024

I enjoy using Dub for both work and personal projects.

For security reasons, both live in 2 separate accounts, and the current switching experience is painful: you have to logout/login consistently.

I'd like to be able to quickly switch between multiple accounts.

Copy link

linear bot commented Mar 15, 2024

@rishikaul22
Copy link

rishikaul22 commented Mar 26, 2024

I would like to take this up @steven-tey . I've coded the rough frontend for it but would like to go over the implementation of managing sessions for different users. On adding an account, I was planning to store the account details using context api, such as the provider(oauth etc), and during an account switch, i call the sign in method of next-auth. Although i was wondering about the security implications via this approach?

Switch.account.mp4

@anirbanpaulcom
Copy link
Contributor

Hey @rishikaul22, Have you implemented it completely?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants