OIDC: failure to reconnect a node after logout due to Machine registration expired #242

Closed
opened 2025-12-29 01:24:47 +01:00 by adam · 0 comments
Owner

Originally created by @restanrm on GitHub (Mar 17, 2022).

Bug description
With OIDC enabled, if we try to login with tailscale up --login-server <server_url>, we are prompted an URL to continue the login process. When clicking on this link we then are authentified successfully.
Now, if we logout the client with tailscale logout and login again with tailscale up --login-server and click on the URL, the login process isn't finished.

We can see the following in the logs:

2022-03-17T17:13:30Z DBG Machine registration has expired. Sending a authurl to register machine=060e38643937

This is on the latest version compiled from branch main on commit 1c9b1c0579

Originally created by @restanrm on GitHub (Mar 17, 2022). **Bug description** With OIDC enabled, if we try to login with `tailscale up --login-server <server_url>`, we are prompted an URL to continue the login process. When clicking on this link we then are authentified successfully. Now, if we logout the client with `tailscale logout` and login again with `tailscale up --login-server` and click on the URL, the login process isn't finished. We can see the following in the logs: ``` 2022-03-17T17:13:30Z DBG Machine registration has expired. Sending a authurl to register machine=060e38643937 ``` This is on the latest version compiled from branch main on commit https://github.com/juanfont/headscale/commit/1c9b1c0579e655fc7abecfeaec945a4b36ce0f4a
adam added the bug label 2025-12-29 01:24:47 +01:00
adam closed this issue 2025-12-29 01:24:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#242