authelia/internal/middlewares
Amir Zarrinkafsh e2ebdb7e41
fix: oidc issuer path and strip path middleware (#2272)
* fix: oidc issuer path and strip path middleware

This ensures the server.path requests append the base_url to the oidc well-known issuer information and adjusts server.path configuration to only strip the configured path instead of the first level entirely regardless of its content.

* fix: only log the token error and general refactoring

* refactor: factorize base_url functions

* refactor(server): include all paths in startup logging

* refactor: factorize

* refactor: GetExternalRootURL -> ExternalRootURL

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2021-08-10 10:31:08 +10:00
..
authelia_context.go fix: oidc issuer path and strip path middleware (#2272) 2021-08-10 10:31:08 +10:00
authelia_context_test.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
const.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
errors.go fix: oidc issuer path and strip path middleware (#2272) 2021-08-10 10:31:08 +10:00
http_to_authelia_handler_adaptor.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
identity_verification.go fix: oidc issuer path and strip path middleware (#2272) 2021-08-10 10:31:08 +10:00
identity_verification_test.go build(deps): update module github.com/golang-jwt/jwt to v4 (#2235) 2021-08-04 07:38:07 +10:00
log_request.go Display correct RemoteIP in logs. 2019-12-11 19:01:16 +01:00
log_request_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
require_first_factor.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
strip_path.go fix: oidc issuer path and strip path middleware (#2272) 2021-08-10 10:31:08 +10:00
types.go build(deps): update module github.com/golang-jwt/jwt to v4 (#2235) 2021-08-04 07:38:07 +10:00