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

Switching Accounts does not work #8008

Open
JonnyIV opened this issue Feb 11, 2025 · 2 comments
Open

Switching Accounts does not work #8008

JonnyIV opened this issue Feb 11, 2025 · 2 comments

Comments

@JonnyIV
Copy link

JonnyIV commented Feb 11, 2025

Product

Nitro

Version

24.0.3

Link to minimal reproduction

impossible to provide, since this is not a code issue

Steps to reproduce

  • Log into nitro with an Github account (I used a passkey)
  • Log Out of Nitro
  • Try to Log into nitro with another account (does not work)

What is expected?

That I have to login and authenticate again, being able to enter a new email and therefore account

What is actually happening?

The login authentication is bypassed and I am instantly logged into the previously logged in account

Relevant log output

Additional context

It is possible to switch accounts by clearing the cookie cache of the login window, which is extremely difficult since I am unable to see, and therefore clear, the github tokens, making it nearly impossible to switch accounts.

@PascalSenn
Copy link
Member

Hi @JonnyIV,

Thanks for reaching out!

You're right - this behavior is due to GitHub's authentication model rather than Nitro itself. GitHub only supports a single active session at a time, unlike services like Google, which allow multiple concurrent sign-ins.

To switch accounts, you’d need to:

  1. Sign out of GitHub.
  2. Sign out of Nitro
  3. Sign in to Github via Nitro

Alternatively, using separate browser profiles or an incognito window can help manage multiple GitHub accounts more seamlessly.

Let us know if you need further clarification!

@JonnyIV
Copy link
Author

JonnyIV commented Feb 17, 2025

How do I sign out of GitHub when using your desktop app?
So far I have been unable to clear the Github session using the app, my current workaround is deleting the Nitro appdata directory.

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

No branches or pull requests

2 participants