config: fix ignored yaml fields (#1698)

This commit is contained in:
Travis Groth 2020-12-17 11:13:09 -05:00 committed by GitHub
parent ad828c6e84
commit 4fbbf28a16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,10 +114,10 @@ type Options struct {
// AuthenticateURL represents the externally accessible http endpoints // AuthenticateURL represents the externally accessible http endpoints
// used for authentication requests and callbacks // used for authentication requests and callbacks
AuthenticateURLString string `mapstructure:"authenticate_service_url" yaml:"authenticate_service_url,omitempty"` AuthenticateURLString string `mapstructure:"authenticate_service_url" yaml:"authenticate_service_url,omitempty"`
AuthenticateURL *url.URL `yaml:"-,omitempty"` AuthenticateURL *url.URL `yaml:"-"`
// SignOutRedirectURL represents the url that user will be redirected to after signing out. // SignOutRedirectURL represents the url that user will be redirected to after signing out.
SignOutRedirectURLString string `mapstructure:"signout_redirect_url" yaml:"signout_redirect_url,omitempty"` SignOutRedirectURLString string `mapstructure:"signout_redirect_url" yaml:"signout_redirect_url,omitempty"`
SignOutRedirectURL *url.URL `yaml:"-,omitempty"` SignOutRedirectURL *url.URL `yaml:"-"`
// AuthenticateCallbackPath is the path to the HTTP endpoint that will // AuthenticateCallbackPath is the path to the HTTP endpoint that will
// receive the response from your identity provider. The value must exactly // receive the response from your identity provider. The value must exactly