mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
d1d02d9eae
* Redirect to default URL after 1FA when default policy is one_factor. User is now redirected to the default redirection URL after 1FA if the default policy is set to one_factor and there is no target URL or if the target URL is unsafe. Also, if the default policy is set to one_factor and the user is already authenticated, if she visits the login portal, the 'already authenticated' view is displayed with a logout button. This fixes #581. * Update users.yml * Fix permissions issue causing suite test failure
25 lines
1.2 KiB
Go
25 lines
1.2 KiB
Go
package schema
|
||
|
||
// Configuration object extracted from YAML configuration file.
|
||
type Configuration struct {
|
||
Host string `mapstructure:"host"`
|
||
Port int `mapstructure:"port"`
|
||
LogsLevel string `mapstructure:"logs_level"`
|
||
|
||
// This secret is used by the identity validation process to forge JWT tokens
|
||
// representing the permission to proceed with the operation.
|
||
JWTSecret string `mapstructure:"jwt_secret"`
|
||
DefaultRedirectionURL string `mapstructure:"default_redirection_url"`
|
||
GoogleAnalyticsTrackingID string `mapstructure:" google_analytics"`
|
||
|
||
AuthenticationBackend AuthenticationBackendConfiguration `mapstructure:"authentication_backend"`
|
||
Session SessionConfiguration `mapstructure:"session"`
|
||
|
||
TOTP *TOTPConfiguration `mapstructure:"totp"`
|
||
DuoAPI *DuoAPIConfiguration `mapstructure:"duo_api"`
|
||
AccessControl AccessControlConfiguration `mapstructure:"access_control"`
|
||
Regulation *RegulationConfiguration `mapstructure:"regulation"`
|
||
Storage *StorageConfiguration `mapstructure:"storage"`
|
||
Notifier *NotifierConfiguration `mapstructure:"notifier"`
|
||
}
|