SSO Login - wrong account or email selected #1498

Closed
opened 2025-11-20 05:31:44 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @eskov-comsearch on GitHub (Dec 16, 2024).

Describe the problem

netbird up - I selected the wrong email this morning and cannot connect to netbird because I cannot figure out how to force netbird to allow me to select the email again.

To Reproduce

Steps to reproduce the behavior:

  1. have 2 linked gmail accounts, one previously associated and logged into with netbird and one not.
  2. Go to command prompt
  3. netbird up
  4. website opens in browser
  5. Select the email not associated with netbird
  6. I sat on the next screen wondering what to do. No option to reselect email or go back. I finally did something I am no longer sure what action I took.

Now when I run "netbird up"
results:
SSO Website:
Login successful
Your device is now registered and logged in to NetBird.
You can now close this window.

command prompt:
Error: waiting sso login failed with: rpc error: code = PermissionDenied desc = invalid user

  1. I would really like to know what command I can run - or what file to update - to force netbird up to ask me to select the email again.

  2. The website should not say "Login successful" when the terminal response is: "Error: waiting sso login failed with: rpc error: code = PermissionDenied desc = invalid user"

I have hunted across pages of https://docs.netbird.io/how-to but I am unable to find how to force a reselection of the email.

tags I would add if I knew how:
login
email
account

Originally created by @eskov-comsearch on GitHub (Dec 16, 2024). **Describe the problem** netbird up - I selected the wrong email this morning and cannot connect to netbird because I cannot figure out how to force netbird to allow me to select the email again. **To Reproduce** Steps to reproduce the behavior: 1. have 2 linked gmail accounts, one previously associated and logged into with netbird and one not. 2. Go to command prompt 3. netbird up 4. website opens in browser 5. Select the email not associated with netbird 6. I sat on the next screen wondering what to do. No option to reselect email or go back. I finally did something I am no longer sure what action I took. Now when I run "netbird up" results: SSO Website: Login successful Your device is now registered and logged in to NetBird. You can now close this window. command prompt: Error: waiting sso login failed with: rpc error: code = PermissionDenied desc = invalid user 1. I would really like to know what command I can run - or what file to update - to force netbird up to ask me to select the email again. 2. The website should not say "Login successful" when the terminal response is: "Error: waiting sso login failed with: rpc error: code = PermissionDenied desc = invalid user" I have hunted across pages of https://docs.netbird.io/how-to but I am unable to find how to force a reselection of the email. tags I would add if I knew how: login email account
saavagebueno added the login label 2025-11-20 05:31:44 -05:00
Author
Owner

@mgarces commented on GitHub (Dec 16, 2024):

hello, can you delete your peer and then logout from the dashboard before issuing netbird up please? This will cause the peer to be deleted from that account and after the dashboard logout, it will no longer use the session information to login automatically again; can you give it a go and report back?

@mgarces commented on GitHub (Dec 16, 2024): hello, can you delete your peer and then logout from the dashboard before issuing `netbird up` please? This will cause the peer to be deleted from that account and after the dashboard logout, it will no longer use the session information to login automatically again; can you give it a go and report back?
Author
Owner

@eskov-comsearch commented on GitHub (Dec 16, 2024):

How do I delete the peer?

I have only ever used command prompts for this. How do I access the dashboard?

@eskov-comsearch commented on GitHub (Dec 16, 2024): How do I delete the peer? I have only ever used command prompts for this. How do I access the dashboard?
Author
Owner

@eskov-comsearch commented on GitHub (Dec 16, 2024):

I went to
https://netbird.io/
From there I answered a question or two before noticing the "E" from Gmail in the upper left.
I was able to logout.
Then log back in.
Now netbird up is using the right email and I am connected.

Thank you for your help.

@eskov-comsearch commented on GitHub (Dec 16, 2024): I went to https://netbird.io/ From there I answered a question or two before noticing the "E" from Gmail in the upper left. I was able to logout. Then log back in. Now netbird up is using the right email and I am connected. Thank you for your help.
Author
Owner

@eskov-comsearch commented on GitHub (Dec 16, 2024):

While I am good, I do believe this behavior is inconsistent, misleading and possibly unhelpful.

results:
SSO Website:
Login successful
Your device is now registered and logged in to NetBird.
You can now close this window.

command prompt:
Error: waiting sso login failed with: rpc error: code = PermissionDenied desc = invalid user

@eskov-comsearch commented on GitHub (Dec 16, 2024): While I am good, I do believe this behavior is inconsistent, misleading and possibly unhelpful. results: SSO Website: Login successful Your device is now registered and logged in to NetBird. You can now close this window. command prompt: Error: waiting sso login failed with: rpc error: code = PermissionDenied desc = invalid user
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1498