authelia/internal/handlers
James Elliott 8cdf4a5624
fix(authorization): regex subj doesn't redirect anon user (#4037)
This fixes an issue with the authorization policies where if the Domain Regex or Resources criteria would incorrectly return 403 Forbidden statuses instead of 302 Found statuses.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-09-26 14:33:08 +10:00
..
const.go fix(handlers): consent session prevents standard flow (#3668) 2022-07-26 15:43:39 +10:00
duo.go feat(duo): multi device selection (#2137) 2021-12-01 14:32:58 +11:00
handler_checks_safe_redirection.go refactor: clean up uri checking functions (#3943) 2022-09-03 11:51:02 +10:00
handler_checks_safe_redirection_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_configuration.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_configuration_password_policy.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
handler_configuration_test.go refactor(configuration): remove ptr for duoapi and notifier (#3200) 2022-04-16 09:34:26 +10:00
handler_firstfactor.go refactor: fix linter directives for go 1.19 and golangci-lint 1.48.0 (#3798) 2022-08-07 11:24:00 +10:00
handler_firstfactor_test.go refactor: fix linter directives for go 1.19 and golangci-lint 1.48.0 (#3798) 2022-08-07 11:24:00 +10:00
handler_health.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_jwks.go feat(oidc): provide cors config including options handlers (#3005) 2022-04-07 10:58:51 +10:00
handler_logout.go refactor: clean up uri checking functions (#3943) 2022-09-03 11:51:02 +10:00
handler_logout_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_oauth_introspection.go fix(oidc): subject generated for anonymous users (#3238) 2022-04-25 10:31:05 +10:00
handler_oauth_revocation.go fix(oidc): subject generated for anonymous users (#3238) 2022-04-25 10:31:05 +10:00
handler_oidc_authorization.go fix(handlers): consent session prevents standard flow (#3668) 2022-07-26 15:43:39 +10:00
handler_oidc_authorization_consent.go refactor: clean up uri checking functions (#3943) 2022-09-03 11:51:02 +10:00
handler_oidc_consent.go refactor: fix linter directives for go 1.19 and golangci-lint 1.48.0 (#3798) 2022-08-07 11:24:00 +10:00
handler_oidc_token.go fix(model): potential panic (#3538) 2022-06-17 22:25:14 +10:00
handler_oidc_userinfo.go feat(oidc): persistent storage (#2965) 2022-04-07 15:33:53 +10:00
handler_oidc_wellknown.go refactor(middlewares): factorize responses (#3628) 2022-07-08 22:18:52 +10:00
handler_register_duo_device.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_register_duo_device_test.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_register_totp.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_register_webauthn.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_reset_password_step1.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
handler_reset_password_step2.go fix(notification): text emails not encoded properly (#3854) 2022-08-27 07:39:20 +10:00
handler_sign_duo.go fix(handlers): consent session prevents standard flow (#3668) 2022-07-26 15:43:39 +10:00
handler_sign_duo_test.go fix(utils): domain suffix improperly checked (#3799) 2022-08-07 21:13:56 +10:00
handler_sign_totp.go fix(handlers): consent session prevents standard flow (#3668) 2022-07-26 15:43:39 +10:00
handler_sign_totp_test.go fix(utils): domain suffix improperly checked (#3799) 2022-08-07 21:13:56 +10:00
handler_sign_webauthn.go fix(handlers): consent session prevents standard flow (#3668) 2022-07-26 15:43:39 +10:00
handler_state.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_state_test.go refactor(middlewares): factorize responses (#3628) 2022-07-08 22:18:52 +10:00
handler_status.go feat(metrics): implement prometheus metrics (#3234) 2022-06-14 17:20:13 +10:00
handler_user_info.go feat(configuration): configurable default second factor method (#3081) 2022-04-18 09:58:24 +10:00
handler_user_info_test.go refactor(configuration): remove ptr for duoapi and notifier (#3200) 2022-04-16 09:34:26 +10:00
handler_user_totp.go fix(server): incorrect remote ip logged in error handler (#3139) 2022-04-08 14:13:47 +10:00
handler_verify.go fix(handlers): verify handler (#3956) 2022-09-05 08:21:30 +10:00
handler_verify_test.go fix(authorization): regex subj doesn't redirect anon user (#4037) 2022-09-26 14:33:08 +10:00
oidc.go feat(oidc): persistent storage (#2965) 2022-04-07 15:33:53 +10:00
oidc_test.go feat(oidc): persistent storage (#2965) 2022-04-07 15:33:53 +10:00
response.go fix(handlers): verify handler (#3956) 2022-09-05 08:21:30 +10:00
types.go fix(handlers): consent session prevents standard flow (#3668) 2022-07-26 15:43:39 +10:00
webauthn.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
webauthn_test.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00