Commit Graph

85 Commits

Author SHA1 Message Date
A.Unger
f87b5bd66c removed all flagset packages 2021-11-17 11:36:28 +01:00
A.Unger
d23ab5a01a Merge branch 'master' into try-gookikt-config 2021-11-15 19:38:05 +01:00
Willy Kloucek
7dca7b4fae set only user oidc claim only if cs3 claim is userid 2021-11-15 10:31:07 +01:00
A.Unger
6391d94516 glauth 2021-11-11 13:14:19 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
Willy Kloucek
d05df2f85e fix basic auth with custom user claim 2021-11-11 11:43:10 +01:00
A.Unger
2dd9a7b14c new config framework in proxy 2021-11-08 13:32:58 +01:00
A.Unger
e8b9186ba3 normalize glauth 2021-11-08 12:01:08 +01:00
A.Unger
0e9b6d8c52 fix log inheritance 2021-11-08 11:35:41 +01:00
A.Unger
74dae6dad9 add ocis-pkg/config default config + fix logging inheritance 2021-11-08 11:14:26 +01:00
A.Unger
6f27c1a100 refactor env unbinding to ocis-pkg 2021-11-07 20:52:36 +01:00
A.Unger
e858fa0188 define ocis_url as a shared option in ocis-pkg/config 2021-11-04 12:58:18 +01:00
A.Unger
4194da4e88 add ocis.yaml 2021-11-04 10:53:40 +01:00
A.Unger
90844c5c84 first draft of config loading exclusively using env vars 2021-11-03 14:46:38 +01:00
A.Unger
09195ffc8c use reflection to set config values from environment 2021-11-03 11:34:56 +01:00
A.Unger
ab1703c2e8 refactor around config parsing 2021-11-02 14:20:07 +01:00
A.Unger
7df000d06f parse config regardless of supervised / unsupervised 2021-10-31 00:30:48 +02:00
A.Unger
711acbb354 inherit logging config from ocis.yaml, let extensions overwrite their logging. Considering using a package level global logging... 2021-10-31 00:08:46 +02:00
A.Unger
998df71ae3 poors man struct inheritance and perpetuity 2021-10-29 23:41:41 +02:00
A.Unger
94aeefb7fd first examples of config parsing 2021-10-29 16:15:35 +02:00
A.Unger
34253fcae2 remove flagset on proxy, use default config values 2021-10-29 11:51:08 +02:00
David Christofas
c88824e7a0 run the public share auth middleware after the create home middleware
The x-access-token for public shares is scoped for only the share. That means create home would fail because the token is not valid.
2021-10-15 16:48:47 +02:00
David Christofas
5713fe81a4 add public share auth middleware 2021-10-15 16:48:43 +02:00
Willy Kloucek
68ba24ff73 fix extensions versions 2021-10-05 12:39:31 +02:00
A.Unger
6166bb5a4c Merge branch 'master' into update-bridge-docs 2021-09-29 12:09:29 +02:00
Willy Kloucek
7b30571aff switch from micro/cli/v2 to urfave/cli/v2, like https://github.com/asim/go-micro/pull/2224 2021-09-27 12:02:55 +02:00
Ishank Arora
c0d029dee3 Mint token after roles injection 2021-09-22 15:41:21 +02:00
Ishank Arora
08c51ee8c8 Use reva's Authenticate method instead of spawning token managers 2021-09-21 15:50:19 +02:00
Ralf Haferkamp
3a42fdc578 Move to go-chi/chi v5 2021-08-24 17:48:37 +02:00
Jörn Friedrich Dreyer
5554c72d9a gotta run
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-08-18 17:22:52 +02:00
A.Unger
aac45a46f4 Merge branch 'master' into remake-traces 2021-08-17 13:29:05 +02:00
David Christofas
ed85fedf1a update github.com/coreos/go-oidc to version 3.0.0 2021-08-13 09:55:17 +02:00
A.Unger
e62a9b6a36 Merge branch 'master' into remake-traces 2021-08-13 09:43:31 +02:00
David Christofas
3bc60510ce use go-chi middlewares
go-chi already delivers the middlewares we need so we don't need to import other libraries for that.
2021-08-12 17:14:41 +02:00
A.Unger
b13863b717 refactor traceprovider initialization 2021-08-09 18:03:01 +02:00
A.Unger
2bdd07e41b add test spans 2021-08-06 15:47:46 +02:00
A.Unger
9f96321c1c add tracing middleware to proxy middleware chain 2021-08-06 13:32:25 +02:00
Willy Kloucek
a0dce56480 use cookie to enforce routing for regex and claim selector 2021-07-23 08:38:55 +00:00
Jörn Friedrich Dreyer
1f3e963c29 use claims map instead of struct
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 09:20:36 +00:00
Jörn Friedrich Dreyer
1dc7aac6fd proxy access log
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 13:14:27 +00:00
A.Unger
02bfa9509b refactor proxy tracing config 2021-03-18 12:25:23 +01:00
A.Unger
fa27def950 suport for proxy 2021-03-17 15:42:24 +01:00
A.Unger
b52fe95762 run ParseConfig only when running unsupervised 2021-03-11 20:09:05 +01:00
A.Unger
dc4b4b7e46 correctly implement suture v4 interfaces 2021-03-11 15:50:01 +01:00
A.Unger
6054e6b4a1 sequential access to viper config (still broken) + add delayed execution to storage-sharing 2021-03-10 12:26:14 +01:00
A.Unger
e8c57394d8 fix debug services shutdown 2021-03-10 11:38:21 +01:00
A.Unger
4e37d4a2f6 update commands when running in supervised mode 2021-03-10 11:10:46 +01:00
A.Unger
90aea4f58d tweak proxy scalability 2021-03-09 22:58:18 +01:00
A.Unger
5f9133386d fix run / kill 2021-03-09 19:15:59 +01:00
Jörn Friedrich Dreyer
2bfdab8735 add remaining services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-09 16:03:47 +00:00