Skip to content
6 changes: 0 additions & 6 deletions backend/config/config_third_party.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down Expand Up @@ -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
}