diff --git a/backend/config/config_third_party.go b/backend/config/config_third_party.go index 178d85480..8ce05c35a 100644 --- a/backend/config/config_third_party.go +++ b/backend/config/config_third_party.go @@ -311,9 +311,6 @@ func (p *CustomThirdPartyProvider) Validate() error { if p.ClientID == "" { return errors.New("missing client_id") } - if p.Secret == "" { - return errors.New("missing client secret") - } if len(p.Scopes) == 0 { return errors.New("missing scopes") } @@ -490,9 +487,6 @@ func (p *ThirdPartyProvider) Validate() error { if p.ClientID == "" { return errors.New("missing client ID") } - if p.Secret == "" { - return errors.New("missing client secret") - } } return nil }