From 3da7c34426164ea4c017d1eb7c0e056e896404dd Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 16 Dec 2025 18:55:23 -0300 Subject: [PATCH] feat: make oauth client secret config optional --- backend/config/config_third_party.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/config/config_third_party.go b/backend/config/config_third_party.go index 529e7e8b0..f15927658 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 }