authelia/internal/suites
Amir Zarrinkafsh d82b46a3ec
[FEATURE] Autofocus on authentication and OTP pages (#806)
* [FEATURE] Autofocus on authentication and OTP pages
This change sets the input focus on the first factor authentication and OTP pages.

The behaviour for the first factor authentication page has also been amended slightly, if an incorrect username or password is provided the password field will be cleared and set as the focus.

One thing to note is that the OTP page does not focus on any re-rendering and this is because the component doesn't handle focusing. This means that the OTP input only is auto-focused when you first visit it, if you enter an incorrect OTP there will be no focus.

Ideally we should be looking for a different library or writing a component for this ourselves in future.

Closes #511.

* Add TODO markers for potential refactor
2020-04-01 10:27:54 +11:00
..
BypassAll [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Docker [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
DuoPush [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
HAProxy [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
HighAvailability [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
LDAP [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
Mariadb [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
MySQL [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
NetworkACL [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
OneFactorOnly [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Postgres [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
ShortTimeouts [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Standalone [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Traefik [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
Traefik2 [FEATURE] [BREAKING] Support writing logs in a file. (#686) 2020-03-09 20:57:53 +01:00
example [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +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.