authelia/internal/suites
James Elliott 626f5d2949
[FEATURE] Remember Me Configuration (#813)
* [FEATURE] Remember Me Configuration
* allow users to specify the duration of remember me using remember_me_duration in session config
* setting the duration to 0 disables remember me
* only render the remember me element if remember me is enabled
* prevent malicious users from faking remember me functionality in the backend
* add string to duration helper called ParseDurationString to parse a string into a duration
* added tests to the helper function
* use the SessionProvider to store the time.Duration instead of parsing it over and over again
* add sec doc, adjust month/min, consistency
* renamed internal/utils/constants.go to internal/utils/const.go to be consistent
* added security measure docs
* adjusted default remember me duration to be 1 month instead of 1 year
* utilize default remember me duration in the autheliaCtx mock
* adjust order of keys in session configuration examples
* add notes on session security measures secret only being redis 
* add TODO items for duration notation for both Expiration and Inactivity (will be removed soon)
* fix error text for Inactivity in the validator 
* add session validator tests
* deref check bodyJSON.KeepMeLoggedIn and derive the value based on conf and user input and store it (DRY)
* remove unnecessary regex for the simplified ParseDurationString utility
* ParseDurationString only accepts decimals without leading zeros now
* comprehensively test all unit types
* remove unnecessary type unions in web
* add test to check sanity of time duration consts, this is just so they can't be accidentally changed
* simplify deref check and assignment
* fix reset password padding/margins
* adjust some doc wording
* adjust the handler configuration suite test
* actually run the handler configuration suite test (whoops)
* reduce the number of regex's used by ParseDurationString to 1, thanks to Clement
* adjust some error wording
2020-04-04 10:11:33 +11:00
..
BypassAll [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
Docker [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
DuoPush [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
HAProxy [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
HighAvailability [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
LDAP [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
Mariadb [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
MySQL [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
NetworkACL [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
OneFactorOnly [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
Postgres [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
ShortTimeouts [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
Standalone [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
Traefik [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
Traefik2 [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
example [FEATURE] Remember Me Configuration (#813) 2020-04-04 10:11:33 +11:00
README.md Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_2fa_methods.go Fix DuoPush suite and do some clean up. 2019-12-05 11:05:24 +01:00
action_http.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_login.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
action_logout.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_mail.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_register.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_reset_password.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_totp.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_visit.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
constants.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
docker-compose.yml [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
docker.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
duo.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
environment.go [MISC] Adjust TLS log messages (#701) 2020-03-10 18:14:28 +11:00
http.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
kubernetes.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
registry.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
scenario_available_methods_test.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
scenario_backend_protection_test.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
scenario_bypass_policy_test.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
scenario_custom_headers_test.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
scenario_default_redirection_url_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
scenario_inactivity_test.go Disable inactivity timeout when user checked remember me. 2020-01-18 00:12:36 +01:00
scenario_one_factor_test.go [FEATURE] Autofocus on authentication and OTP pages (#806) 2020-04-01 10:27:54 +11:00
scenario_redirection_check_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
scenario_redirection_url_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
scenario_regulation_test.go [FEATURE] Autofocus on authentication and OTP pages (#806) 2020-04-01 10:27:54 +11:00
scenario_reset_password_test.go [FEATURE] Autofocus on authentication and OTP pages (#806) 2020-04-01 10:27:54 +11:00
scenario_signin_email_test.go [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
scenario_two_factor_test.go Allow administrator to provide a Google Analytics tracking ID. 2019-12-08 14:31:48 +01:00
scenario_user_preferences_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
suite_bypass_all.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_bypass_all_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_docker.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_docker_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_duo_push.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_duo_push_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
suite_haproxy.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_haproxy_test.go Create a suite for HAProxy 2020-01-10 11:41:01 +01:00
suite_high_availability.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
suite_high_availability_test.go Fix HighAvailability suite randomness. 2019-12-08 16:41:28 +01:00
suite_kubernetes.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_kubernetes_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
suite_ldap.go [BUGFIX] [BREAKING] Set username retrieved from authentication backend in session. (#687) 2020-03-15 18:10:25 +11:00
suite_ldap_test.go [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
suite_mariadb.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_mariadb_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_mysql.go [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00
suite_mysql_test.go [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00
suite_network_acl.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_network_acl_test.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
suite_one_factor_only.go [BUGFIX] Skip 2FA step if no ACL rule is two_factor (#684) 2020-03-06 11:31:09 +11:00
suite_one_factor_only_test.go [BUGFIX] Skip 2FA step if no ACL rule is two_factor (#684) 2020-03-06 11:31:09 +11:00
suite_postgres.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_postgres_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_short_timeouts.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_short_timeouts_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
suite_standalone.go [FEATURE] Add TLS support. (#677) 2020-03-03 18:18:25 +11:00
suite_standalone_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
suite_traefik.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_traefik2.go [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
suite_traefik2_test.go Add Traefik2 suite and refactor Traefik suite (#562) 2020-01-19 11:06:37 +01:00
suite_traefik_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
suites.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_body_contains.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
verify_is_authenticated_page.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
verify_is_first_factor_page.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_is_home.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_is_second_factor_page.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_mail.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_notification.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_secret_authorized.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
verify_url_is.go Fix HighAvailability suite randomness. 2019-12-08 16:41:28 +01:00
webdriver.go [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00

README.md

Authelia Suites

A suite is a kind of virtual environment for Authelia. Please read the related documentation here to get more details.