Skip to content
Open
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
2 changes: 1 addition & 1 deletion services/idp/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ type Settings struct {

Insecure bool `yaml:"ldap_insecure" env:"OC_LDAP_INSECURE;IDP_INSECURE" desc:"Disable TLS certificate validation for the LDAP connections. Do not set this in production environments." introductionVersion:"1.0.0"`

TrustedProxy []string `yaml:"trusted_proxy"` //TODO: how to configure this via env?
TrustedProxy []string `yaml:"trusted_proxy" env:"IDP_TRUSTED_PROXY" desc:"A list of trusted proxy IP addresses or CIDR networks. When the request remote address matches, the IDP honors forwarded headers such as X-Forwarded-Proto. See the Environment Variable Types description for more details." introductionVersion:"%%NEXT%%"`

AllowScope []string `yaml:"allow_scope"` // TODO: is this even needed?
AllowClientGuests bool `yaml:"allow_client_guests" env:"IDP_ALLOW_CLIENT_GUESTS" desc:"Allow guest clients to access OpenCloud." introductionVersion:"1.0.0"`
Expand Down