authelia/internal/handlers
Clément Michaud d1d02d9eae
[FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611)
* 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
2020-02-05 08:18:02 +11:00
..
const.go Move source code into internal directory to follow standard project layout. 2019-11-17 16:30:33 +01:00
errors.go Move source code into internal directory to follow standard project layout. 2019-11-17 16:30:33 +01:00
handler_configuration_test.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_configuration.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_extended_configuration_test.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_extended_configuration.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
handler_firstfactor_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
handler_firstfactor.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
handler_logout_test.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_logout.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_register_totp.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_register_u2f_step1.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
handler_register_u2f_step2.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
handler_reset_password_step1.go Misc Spelling Corrections 2020-01-21 12:16:00 +11:00
handler_reset_password_step2.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_sign_duo_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
handler_sign_duo.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
handler_sign_totp_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
handler_sign_totp.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
handler_sign_u2f_step1.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_sign_u2f_step2_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
handler_sign_u2f_step2.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
handler_state_test.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_state.go Rename org from clems4ever to authelia 2019-12-24 13:14:52 +11:00
handler_user_info_test.go Fix spelling errors 2020-01-10 11:33:18 +01:00
handler_user_info.go Misc Spelling Corrections 2020-01-21 12:16:00 +11:00
handler_verify_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
handler_verify.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
response.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
totp_mock.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
totp.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
types.go Fix spelling errors 2020-01-10 11:33:18 +01:00
u2f_mock.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
u2f.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00