Commit Graph

33 Commits

Author SHA1 Message Date
Benedikt Kulmann
214dbc4a48 Fix director selection
Instead of overwriting the director on each request, provide function
for director selection. On concurrent requests the previous
implementation could have caused situations where the request was
performed on a wrong director.
2020-09-04 15:16:33 +02:00
Benedikt Kulmann
1581b0f6b4 Add ocis-hello endpoints to builtin and example config 2020-08-28 15:27:06 +02:00
Jörn Friedrich Dreyer
2e49febb6c add settings and ocs group routes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-29 15:29:35 +02:00
Benedikt Kulmann
3a83f3bb4d Route user provisioning api to ocis-ocs 2020-07-28 17:34:06 +02:00
Jörn Friedrich Dreyer
cf448f0124 initial signing-key middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 12:53:22 +02:00
Jörn Friedrich Dreyer
83b2b3c48c Change: Add OIDC config flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 20:08:35 +02:00
Jörn Friedrich Dreyer
e41d993af9 Add Accounts UI routes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 17:02:01 +02:00
A.Unger
9ddf0d555b avoid setting a nil context 2020-07-09 14:29:42 +02:00
A.Unger
94adb97ac1 create root span on ocis-proxy 2020-07-09 14:15:20 +02:00
Benedikt Kulmann
3873079c11 Add /data endpoint to builtin default config 2020-06-25 10:19:17 +02:00
Jörn Friedrich Dreyer
4a436a4171 parrallel test execution seems to make the coverage miscount
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 19:08:14 +02:00
Jörn Friedrich Dreyer
399230d3de no confusing names
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 19:07:31 +02:00
Jörn Friedrich Dreyer
e7a3ed3fa3 make tests use mock from ocis-accounts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:33:16 +02:00
Jörn Friedrich Dreyer
ac2694251b update to new accounts api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-16 18:17:32 +02:00
Ilja Neumann
6b76c2783e Re-enable selector-test 2020-05-28 16:05:10 +02:00
A.Unger
85c4232901 fix linters 2020-05-22 12:55:42 +02:00
A.Unger
a8c01a4da8 use latest accounts, get rid of replace, fix api 2020-05-11 12:52:21 +02:00
Ilja Neumann
617628b1a6 Integration test 2020-04-06 09:52:37 +02:00
Ilja Neumann
c523942899 User based routing
Implements a configurable "migration" policy-selector which reads the preferred_username attribute from
the oidc claims and checks if the uid exists in the ocis-accounts service.

A configurable policy-name can be selected based on the outcome of the check.
2020-03-27 06:36:17 +01:00
David Christofas
a86e745c75 use labeled break 2020-03-24 10:55:09 +01:00
David Christofas
1cd3f8936d add unit tests 2020-03-24 10:43:01 +01:00
David Christofas
eb539bc78e implement review feedback 2020-03-24 10:42:47 +01:00
David Christofas
a718777747 route requests based on pattern or query parameters 2020-03-23 19:13:46 +01:00
Ilja Neumann
60a1e6a143 Proxy client urls in default configuration #19 2020-03-23 13:01:29 +01:00
A.Unger
747e345b08 rename reverseproxy -> rp 2020-03-18 12:12:12 +01:00
A.Unger
ae8150dd57 added logging info 2020-03-18 12:12:12 +01:00
A.Unger
52b81a8605 add default runtime redirects 2020-03-18 12:12:12 +01:00
A.Unger
b0e8dbba85 remove mapstructure from config directives 2020-03-18 12:12:12 +01:00
A.Unger
356ad9c9e7 add debug lines 2020-03-18 12:12:12 +01:00
Jörn Friedrich Dreyer
2aba428eb1 add apachevhost option, fix logging defaults
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-06 16:47:26 +01:00
A.Unger
94d83b4f38 add structured logging on url parsing failure 2020-03-04 21:13:07 +01:00
A.Unger
e0ca0fbd75 add defensive code on policy checks 2020-03-04 21:13:07 +01:00
A.Unger
ea5dfc8f4f move MultiHostReverseProxy logic away from the server command 2020-03-04 21:13:07 +01:00