mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 05:05:42 +00:00
fix: parse generic oauth provider config correctly
This commit is contained in:
@@ -39,7 +39,7 @@ type Config struct {
|
|||||||
GenericScopes string `mapstructure:"generic-scopes"`
|
GenericScopes string `mapstructure:"generic-scopes"`
|
||||||
GenericAuthURL string `mapstructure:"generic-auth-url"`
|
GenericAuthURL string `mapstructure:"generic-auth-url"`
|
||||||
GenericTokenURL string `mapstructure:"generic-token-url"`
|
GenericTokenURL string `mapstructure:"generic-token-url"`
|
||||||
GenericUserURL string `mapstructure:"generic-user-info-url"`
|
GenericUserURL string `mapstructure:"generic-user-url"`
|
||||||
DisableContinue bool `mapstructure:"disable-continue"`
|
DisableContinue bool `mapstructure:"disable-continue"`
|
||||||
OAuthWhitelist string `mapstructure:"oauth-whitelist"`
|
OAuthWhitelist string `mapstructure:"oauth-whitelist"`
|
||||||
CookieExpiry int `mapstructure:"cookie-expiry"`
|
CookieExpiry int `mapstructure:"cookie-expiry"`
|
||||||
|
|||||||
Reference in New Issue
Block a user