Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add missing tags #1994

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backend/config/config_third_party.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type ThirdParty struct {
//
// Must not be empty if any of the [`providers`](#providers) are `enabled`. URLs in the list must not have a trailing slash.
AllowedRedirectURLS []string `yaml:"allowed_redirect_urls" json:"allowed_redirect_urls,omitempty" koanf:"allowed_redirect_urls" split_words:"true" jsonschema:"minItems=1"`
AllowedRedirectURLMap map[string]glob.Glob `jsonschema:"-"`
AllowedRedirectURLMap map[string]glob.Glob `jsonschema:"-" yaml:"-" json:"-" koanf:"-"`
}

func (t *ThirdParty) Validate() error {
Expand Down Expand Up @@ -251,7 +251,7 @@ type CustomThirdPartyProvider struct {
AuthorizationEndpoint string `yaml:"authorization_endpoint" json:"authorization_endpoint,omitempty" koanf:"authorization_endpoint"`
// `name` is a unique identifier for the provider, derived from the key in the `custom_providers` map, by
// concatenating the prefix "custom_". This allows distinguishing between built-in and custom providers at runtime.
Name string `jsonschema:"-"`
Name string `jsonschema:"-" yaml:"-" json:"-" koanf:"-"`
// `issuer` is the provider's issuer identifier. It should be a URL that uses the "https"
// scheme and has no query or fragment components.
//
Expand Down Expand Up @@ -445,7 +445,7 @@ type ThirdPartyProvider struct {
Secret string `yaml:"secret" json:"secret,omitempty" koanf:"secret"`
// `name` is a unique name/slug/identifier for the provider. It is the lowercased key of the corresponding field
// in ThirdPartyProviders. See also: CustomThirdPartyProvider.Name.
Name string `jsonschema:"-"`
Name string `jsonschema:"-" yaml:"-" json:"-" koanf:"-"`
}

func (ThirdPartyProvider) JSONSchemaExtend(schema *jsonschema.Schema) {
Expand Down
Loading