diff --git a/oidc.go b/oidc.go index 4438279..ee9511d 100644 --- a/oidc.go +++ b/oidc.go @@ -451,7 +451,7 @@ func (h *Headscale) validateMachineForOIDCCallback( Msg("Failed to write response") } - return nil, false, errOIDCInvalidMachineState + return nil, false, errOIDCNodeKeyMissing } var nodeKey key.NodePublic