authelia/internal/handlers
Clément Michaud bc983ce9f5
fix: user is now redirected when authenticated (#2082)
* fix(handlers,web): user is now redirected when authenticated

Fix: #1788

* remove dead code and fix ci issues

* fix infinite loop in frontend

* fix issue with integration tests

* handle bot recommendation

* fix integration test & add dot to comment

* fix last integration test

* Update api/openapi.yml

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>

* Update web/src/services/SafeRedirection.ts

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

* Update web/src/services/SafeRedirection.ts

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

* Update api/openapi.yml

* Update openapi.yml

* refactor: valid -> safe

* refactor: adjust merge conflicts

* Apply suggestions from code review

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>

* fix: adjust test return messaging

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-02 16:15:38 +10:00
..
const.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
errors.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_checks_safe_redirection.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
handler_checks_safe_redirection_test.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
handler_configuration.go fix(authorization): configuration reports 2fa disabled with 2fa oidc clients (#2089) 2021-06-18 11:38:01 +10:00
handler_configuration_test.go fix(authorization): configuration reports 2fa disabled with 2fa oidc clients (#2089) 2021-06-18 11:38:01 +10:00
handler_firstfactor.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_firstfactor_test.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_health.go [FEATURE] Create dedicated health endpoint (#1489) 2020-11-25 10:20:52 +11:00
handler_logout.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_logout_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_oidc_authorize.go feat(oidc): userinfo endpoint (#2146) 2021-07-10 14:56:33 +10:00
handler_oidc_consent.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_introspect.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_jwks.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_revoke.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
handler_oidc_token.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_userinfo.go feat(oidc): userinfo endpoint (#2146) 2021-07-10 14:56:33 +10:00
handler_oidc_wellknown.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_totp.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_u2f_step1.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_u2f_step1_test.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_u2f_step2.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_reset_password_step1.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_reset_password_step2.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_duo.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_duo_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_totp.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_totp_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_u2f_step1.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_u2f_step1_test.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_sign_u2f_step2.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_u2f_step2_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_state.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_state_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_user_info.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_user_info_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_verify.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_verify_test.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
oidc.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
oidc_register.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
oidc_test.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
response.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
totp.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
totp_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
types.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
types_oidc.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
u2f.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
u2f_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00