authelia/internal/handlers
James Elliott ad8e844af6
feat(totp): algorithm and digits config (#2634)
Allow users to configure the TOTP Algorithm and Digits. This should be used with caution as many TOTP applications do not support it. Some will also fail to notify the user that there is an issue. i.e. if the algorithm in the QR code is sha512, they continue to generate one time passwords with sha1. In addition this drastically refactors TOTP in general to be more user friendly by not forcing them to register a new device if the administrator changes the period (or algorithm).

Fixes #1226.
2021-12-01 23:11:29 +11:00
..
const.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
duo.go feat(duo): multi device selection (#2137) 2021-12-01 14:32:58 +11:00
errors.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_checks_safe_redirection_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_checks_safe_redirection.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_configuration_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_configuration.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_firstfactor_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_firstfactor.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_health.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_logout_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_logout.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_oidc_authorization.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_oidc_consent.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_oidc_introspection.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_jwks.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_revocation.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_token.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_userinfo.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_oidc_wellknown.go feat(oidc): include introspection_endpoint in .well-known/openid-configuration 2021-11-11 14:41:49 +11:00
handler_register_duo_device_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_register_duo_device.go feat(duo): multi device selection (#2137) 2021-12-01 14:32:58 +11:00
handler_register_totp.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_register_u2f_step1_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_register_u2f_step1.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_register_u2f_step2.go feat(storage): primary key for all tables and general qol refactoring (#2431) 2021-11-23 20:45:38 +11:00
handler_reset_password_step1.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_reset_password_step2.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_sign_duo_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_sign_duo.go feat(duo): multi device selection (#2137) 2021-12-01 14:32:58 +11:00
handler_sign_totp_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_sign_totp.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_sign_u2f_step1_test.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_sign_u2f_step1.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_sign_u2f_step2_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_sign_u2f_step2.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_state_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_state.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_user_info_test.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_user_info.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_user_totp.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
handler_verify_test.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_verify.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
oidc_register.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
oidc_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
oidc.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
response.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
types_oidc.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
types.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00
u2f.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00