mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
refactor(config): remove mapstructure from OIDC (#1973)
This commit is contained in:
parent
b4d3d18f40
commit
ac0b407255
1 changed files with 7 additions and 7 deletions
|
@ -29,13 +29,13 @@ type Config struct {
|
||||||
ProfilingEnabled bool `toml:"profilingEnabled"`
|
ProfilingEnabled bool `toml:"profilingEnabled"`
|
||||||
ProfilingHost string `toml:"profilingHost"`
|
ProfilingHost string `toml:"profilingHost"`
|
||||||
ProfilingPort int `toml:"profilingPort"`
|
ProfilingPort int `toml:"profilingPort"`
|
||||||
OIDCEnabled bool `toml:"oidcEnabled" mapstructure:"oidc_enabled"`
|
OIDCEnabled bool `toml:"oidcEnabled"`
|
||||||
OIDCIssuer string `toml:"oidcIssuer" mapstructure:"oidc_issuer"`
|
OIDCIssuer string `toml:"oidcIssuer"`
|
||||||
OIDCClientID string `toml:"oidcClientId" mapstructure:"oidc_client_id"`
|
OIDCClientID string `toml:"oidcClientId"`
|
||||||
OIDCClientSecret string `toml:"oidcClientSecret" mapstructure:"oidc_client_secret"`
|
OIDCClientSecret string `toml:"oidcClientSecret"`
|
||||||
OIDCRedirectURL string `toml:"oidcRedirectUrl" mapstructure:"oidc_redirect_url"`
|
OIDCRedirectURL string `toml:"oidcRedirectUrl"`
|
||||||
OIDCScopes string `toml:"oidcScopes" mapstructure:"oidc_scopes"`
|
OIDCScopes string `toml:"oidcScopes"`
|
||||||
OIDCDisableBuiltInLogin bool `toml:"oidcDisableBuiltInLogin" mapstructure:"disable_built_in_login"`
|
OIDCDisableBuiltInLogin bool `toml:"oidcDisableBuiltInLogin"`
|
||||||
MetricsEnabled bool `toml:"metricsEnabled"`
|
MetricsEnabled bool `toml:"metricsEnabled"`
|
||||||
MetricsHost string `toml:"metricsHost"`
|
MetricsHost string `toml:"metricsHost"`
|
||||||
MetricsPort int `toml:"metricsPort"`
|
MetricsPort int `toml:"metricsPort"`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue