{"record":{"id":"28ed4838fed0140f","repo":"netbirdio/netbird","slug":"invalid-provider-configuration-received-from-manag","errorCode":null,"errorMessage":"invalid provider configuration received from management: %s value is empty. Contact your NetBird administrator","messagePattern":"invalid provider configuration received from management: (.+?) value is empty\\. Contact your NetBird administrator","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"client/internal/auth/device_flow.go","lineNumber":56,"sourceCode":"\tAudience string\n\t// TokenEndpoint is the endpoint of an IDP manager where clients can obtain access token\n\tTokenEndpoint string\n\t// DeviceAuthEndpoint is the endpoint of an IDP manager where clients can obtain device authorization code\n\tDeviceAuthEndpoint string\n\t// Scopes provides the scopes to be included in the token request\n\tScope string\n\t// UseIDToken indicates if the id token should be used for authentication\n\tUseIDToken bool\n\t// LoginHint is used to pre-fill the email/username field during authentication\n\tLoginHint string\n}\n\n// validateDeviceAuthConfig validates device authorization provider configuration\nfunc validateDeviceAuthConfig(config *DeviceAuthProviderConfig) error {\n\terrorMsgFormat := \"invalid provider configuration received from management: %s value is empty. Contact your NetBird administrator\"\n\n\tif config.Audience == \"\" {\n\t\treturn fmt.Errorf(errorMsgFormat, \"Audience\")\n\t}\n\tif config.ClientID == \"\" {\n\t\treturn fmt.Errorf(errorMsgFormat, \"Client ID\")\n\t}\n\tif config.TokenEndpoint == \"\" {\n\t\treturn fmt.Errorf(errorMsgFormat, \"Token Endpoint\")\n\t}\n\tif config.DeviceAuthEndpoint == \"\" {\n\t\treturn fmt.Errorf(errorMsgFormat, \"Device Auth Endpoint\")\n\t}\n\tif config.Scope == \"\" {\n\t\treturn fmt.Errorf(errorMsgFormat, \"Device Auth Scopes\")\n\t}\n\treturn nil\n}\n\n// DeviceAuthorizationFlow implements the OAuthFlow interface,\n// for the Device Authorization Flow.","sourceCodeStart":38,"sourceCodeEnd":74,"githubUrl":"https://github.com/netbirdio/netbird/blob/93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c/client/internal/auth/device_flow.go#L38-L74","documentation":"Error \"invalid provider configuration received from management: %s value is empty. Contact your NetBird administrator\" thrown in netbirdio/netbird.","triggerScenarios":"Thrown at client/internal/auth/device_flow.go:56 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"93e97f4bf1ad715072dcb3fb6cdb1763431b5a9c","analyzedAt":"2026-08-16T03:09:19.136Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}