mirror of
https://github.com/netbirdio/netbird.git
synced 2025-04-01 11:46:39 +02:00
Remove IdP client secret validation
This commit is contained in:
parent
34c1c7d901
commit
2033650908
@ -292,9 +292,6 @@ func isProviderConfigValid(config ProviderConfig) error {
|
|||||||
if config.ClientID == "" {
|
if config.ClientID == "" {
|
||||||
return fmt.Errorf(errorMSGFormat, "Client ID")
|
return fmt.Errorf(errorMSGFormat, "Client ID")
|
||||||
}
|
}
|
||||||
if config.ClientSecret == "" {
|
|
||||||
return fmt.Errorf(errorMSGFormat, "Client Secret")
|
|
||||||
}
|
|
||||||
if config.TokenEndpoint == "" {
|
if config.TokenEndpoint == "" {
|
||||||
return fmt.Errorf(errorMSGFormat, "Token Endpoint")
|
return fmt.Errorf(errorMSGFormat, "Token Endpoint")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user