diff --git a/oidc.go b/oidc.go index d3423977..853345a6 100644 --- a/oidc.go +++ b/oidc.go @@ -604,7 +604,6 @@ func (h *Headscale) registerMachineForOIDCCallback( namespace *Namespace, nodeKey *key.NodePublic, ) error { - if _, err := h.RegisterMachineFromAuthCallback( nodeKey.String(), namespace.Name,