netbirdio/netbird · error

invalid provider configuration received from management: %s

Error message

invalid provider configuration received from management: %s value is empty. Contact your NetBird administrator

What it means

Error "invalid provider configuration received from management: %s value is empty. Contact your NetBird administrator" thrown in netbirdio/netbird.

Source

Thrown at client/internal/auth/device_flow.go:56

	Audience string
	// TokenEndpoint is the endpoint of an IDP manager where clients can obtain access token
	TokenEndpoint string
	// DeviceAuthEndpoint is the endpoint of an IDP manager where clients can obtain device authorization code
	DeviceAuthEndpoint string
	// Scopes provides the scopes to be included in the token request
	Scope string
	// UseIDToken indicates if the id token should be used for authentication
	UseIDToken bool
	// LoginHint is used to pre-fill the email/username field during authentication
	LoginHint string
}

// validateDeviceAuthConfig validates device authorization provider configuration
func validateDeviceAuthConfig(config *DeviceAuthProviderConfig) error {
	errorMsgFormat := "invalid provider configuration received from management: %s value is empty. Contact your NetBird administrator"

	if config.Audience == "" {
		return fmt.Errorf(errorMsgFormat, "Audience")
	}
	if config.ClientID == "" {
		return fmt.Errorf(errorMsgFormat, "Client ID")
	}
	if config.TokenEndpoint == "" {
		return fmt.Errorf(errorMsgFormat, "Token Endpoint")
	}
	if config.DeviceAuthEndpoint == "" {
		return fmt.Errorf(errorMsgFormat, "Device Auth Endpoint")
	}
	if config.Scope == "" {
		return fmt.Errorf(errorMsgFormat, "Device Auth Scopes")
	}
	return nil
}

// DeviceAuthorizationFlow implements the OAuthFlow interface,
// for the Device Authorization Flow.

View on GitHub (pinned to 93e97f4bf1)

When it happens

Trigger: Thrown at client/internal/auth/device_flow.go:56 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of netbirdio/netbird@93e97f4bf1 (2026-08-16). Data as JSON: /api/errors/28ed4838fed0140f. Report an issue: GitHub.