mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 15:26:40 +00:00
Remove IdP client secret validation
This commit is contained in:
@@ -292,9 +292,6 @@ func isProviderConfigValid(config ProviderConfig) error {
|
||||
if config.ClientID == "" {
|
||||
return fmt.Errorf(errorMSGFormat, "Client ID")
|
||||
}
|
||||
if config.ClientSecret == "" {
|
||||
return fmt.Errorf(errorMSGFormat, "Client Secret")
|
||||
}
|
||||
if config.TokenEndpoint == "" {
|
||||
return fmt.Errorf(errorMSGFormat, "Token Endpoint")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user