Skip to content

Commit

Permalink
FS-1213; Quick cleanup (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeschuurmans authored Feb 22, 2024
1 parent 4483fe9 commit 6a4c911
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ type ConfigOIDC struct {
IssuerEndpoint string `mapstructure:"oidc_issuer_endpoint"`
AudienceEndpoint string `mapstructure:"oidc_audience_endpoint"`
ClientScopes []string `mapstructure:"oidc_scopes"`
PkceCallbackURL string `mapstructure:"oidc_pkce_callback_url"`
ClientSecret string `mapstructure:"oidc_client_secret"`
}

Expand Down Expand Up @@ -162,9 +161,6 @@ func validateOIDCConfig(cfg *ConfigOIDC, defaultClientID string) error {
if cfg.ClientSecret == "" {
return errors.Wrap(err, "oidc_client_secret")
}
if cfg.PkceCallbackURL == "" {
return errors.Wrap(err, "oidc_pkce_callback_url")
}
}

return nil
Expand Down

0 comments on commit 6a4c911

Please sign in to comment.