#3471·headscale

[Bug] In-memory node "user" not updated after headscale user rename and OIDC change

Author: CodelicaCreated Sep 10, 2026Updated Sep 11, 2026
Labelsbug

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If I:

  1. Change an OIDC user's email "username" from say [email protected] to [email protected]
  2. Rename the user in Headscale via headscale user rename -i <id> --new-name [email protected]
  3. Log the user back into Headscale

Then headscale user list shows their updated Username and Email (from the OIDC login). Also headscale node list --user [email protected] pulls back their owned nodes.

However headscale node list shows their old email ([email protected]) for the node's "User". I'm assuming the in-memory map just isn't updated, as restarting Headscale results in the new/correct user ([email protected]).

Expected Behavior

I'd expect headscale node list have updated User information after changes without requiring a restart.

Steps To Reproduce

See initial section for steps.

Environment

markdown
- OS: Ubuntu 24
- Headscale version: v0.29.3
- Tailscale version: N/A

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Debug information

If this is needed please just let me know, as I'd rather not post it publicly.