-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug] Change Account #2327
Comments
I can confirm the described behavior. Headscale logs when logging out user1 and reauthenticating as user2:
OIDC result page:
Tailscale status after logging in as
The tailscale client sends the same mkey. |
I've tested this with Tailscale SaaS and the correct behaviour is that a new node/machine should be created. This is because when a user logs in, a new node key is generated and the old will remain logged out. We use the machinekey for registration, which likely has to go away since the machine key is the same for the node, while the node key changes. I will first write up a test for this, then work on fixing it. I think this is not a new bug, but it should be fixed before 0.24. |
Is this a support request?
Is there an existing issue for this?
Current Behavior
The tailscale won't change the relationship if you login another account by OIDC.
Expected Behavior
The user in Tailscale should follow the user who is login in the OIDC.
Steps To Reproduce
A
login withuser-A
by OIDCuser-A
logoutuser-B
by OIDCuser-A
Environment
Runtime environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: