authelia/internal/handlers
James Elliott 2502d89682
fix(server): respond with 404/405 appropriately (#3087)
This adjusts the not found handler to not respond with a 404 on not found endpoints that are part of the /api or /.well-known folders, and respond with a 405 when the method isn't implemented.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-04-04 09:58:01 +10:00
..
const.go feat(authentication): password policy (#2723) 2022-04-03 08:32:57 +10:00
duo.go feat(duo): multi device selection (#2137) 2021-12-01 14:32:58 +11:00
handler_checks_safe_redirection.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_configuration.go fix(web): show appropriate default and available methods (#2999) 2022-03-28 12:26:30 +11:00
handler_configuration_password_policy.go refactor(handlers): ppolicy (#3103) 2022-04-03 21:58:27 +10:00
handler_configuration_test.go feat: webauthn (#2707) 2022-03-03 22:20:43 +11:00
handler_firstfactor.go fix(configuration): remember me duration disabled impossible (#2997) 2022-03-13 13:51:23 +11:00
handler_firstfactor_test.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
handler_health.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_logout_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_authorization.go feat(oidc): implement amr claim (#2969) 2022-04-01 22:18:58 +11:00
handler_oidc_consent.go feat(oidc): implement amr claim (#2969) 2022-04-01 22:18:58 +11:00
handler_oidc_introspection.go fix(oidc): add detailed trace/debug logs (#3012) 2022-03-16 09:55:38 +11:00
handler_oidc_jwks.go fix(oidc): add detailed trace/debug logs (#3012) 2022-03-16 09:55:38 +11:00
handler_oidc_revocation.go fix(oidc): add detailed trace/debug logs (#3012) 2022-03-16 09:55:38 +11:00
handler_oidc_token.go fix(oidc): add detailed trace/debug logs (#3012) 2022-03-16 09:55:38 +11:00
handler_oidc_userinfo.go fix(oidc): userinfo jti claim potential panic (#3017) 2022-03-16 11:29:46 +11:00
handler_oidc_wellknown.go feat(oidc): oauth2 discovery support (#2925) 2022-03-04 14:09:27 +11:00
handler_register_duo_device.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
handler_register_duo_device_test.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
handler_register_totp.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
handler_register_webauthn.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
handler_reset_password_step1.go feat(notification): password reset notification custom templates (#2828) 2022-04-03 22:24:51 +10:00
handler_reset_password_step2.go feat(notification): password reset notification custom templates (#2828) 2022-04-03 22:24:51 +10:00
handler_sign_duo.go feat(oidc): implement amr claim (#2969) 2022-04-01 22:18:58 +11:00
handler_sign_duo_test.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
handler_sign_totp.go feat(oidc): implement amr claim (#2969) 2022-04-01 22:18:58 +11:00
handler_sign_totp_test.go refactor(model): rename from models (#2968) 2022-03-06 16:47:40 +11:00
handler_sign_webauthn.go feat(oidc): implement amr claim (#2969) 2022-04-01 22:18:58 +11:00
handler_state.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_state_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_user_info.go fix(web): show appropriate default and available methods (#2999) 2022-03-28 12:26:30 +11:00
handler_user_info_test.go fix(web): show appropriate default and available methods (#2999) 2022-03-28 12:26:30 +11:00
handler_user_totp.go refactor(web): only fetch totp conf if required (#2663) 2021-12-02 21:28:16 +11:00
handler_verify.go refactor: apply godot recommendations (#2839) 2022-01-31 16:25:15 +11:00
handler_verify_test.go refactor(configuration): utilize time duration decode hook (#2938) 2022-03-02 17:40:26 +11:00
oidc.go feat(oidc): implement amr claim (#2969) 2022-04-01 22:18:58 +11:00
oidc_register.go feat(oidc): add automatic allow all cors to discovery (#2953) 2022-03-04 15:46:12 +11:00
oidc_test.go feat(oidc): implement amr claim (#2969) 2022-04-01 22:18:58 +11:00
response.go fix(server): respond with 404/405 appropriately (#3087) 2022-04-04 09:58:01 +10:00
types.go fix(server): respond with 404/405 appropriately (#3087) 2022-04-04 09:58:01 +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
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