pomerium/internal/middleware
Bobby DeSimone c13459bb88
authorize: add authorization (#59)
* authorize: authorization module adds support for per-route access policy. In this release we support the most common forms of identity based access policy: `allowed_users`, `allowed_groups`, and `allowed_domains`. In future versions, the authorization module will also support context and device based authorization policy and decisions. See website documentation for more details.
 * docs: updated `env.example` to include a `POLICY` setting example.
 * docs:  added `IDP_SERVICE_ACCOUNT` to  `env.example` .
 * docs: removed `PROXY_ROOT_DOMAIN` settings which has been replaced by `POLICY`.
 * all: removed `ALLOWED_DOMAINS` settings which has been replaced by `POLICY`. Authorization is now handled by the authorization service and is defined in the policy configuration files.
 * proxy: `ROUTES` settings which has been replaced by `POLICY`.
* internal/log: `http.Server` and `httputil.NewSingleHostReverseProxy` now uses pomerium's logging package instead of the standard library's built in one.

Closes #54
Closes #41
Closes #61
Closes #58
2019-03-07 12:47:07 -08:00
..
chain.go proxy: add JWT request signing support (#19) 2019-01-22 21:44:22 -08:00
chain_test.go authorize: add authorization (#59) 2019-03-07 12:47:07 -08:00
doc.go authenticate: refactor middleware, logging, and tests (#30) 2019-01-25 20:58:50 -08:00
grpc.go authenticate: use gRPC for service endpoints (#39) 2019-02-08 10:10:38 -08:00
logger.go authenticate: refactor middleware, logging, and tests (#30) 2019-01-25 20:58:50 -08:00
logger_test.go authenticate: refactor middleware, logging, and tests (#30) 2019-01-25 20:58:50 -08:00
middleware.go proxy: add unit tests (#42) 2019-02-08 22:39:48 -08:00
middleware_test.go proxy: add unit tests (#42) 2019-02-08 22:39:48 -08:00
wrap_writer.go authenticate: refactor middleware, logging, and tests (#30) 2019-01-25 20:58:50 -08:00
wrap_writer_test.go authenticate: refactor middleware, logging, and tests (#30) 2019-01-25 20:58:50 -08:00