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 and Jörn Friedrich Dreyer
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
A.Unger
3c770dd118
add store
2021-03-04 14:03:06 +01:00
A.Unger
e25f5b1c98
add proxy
2021-03-04 13:56:49 +01:00
David Christofas
0fd7580301
resolve linter issues
2021-02-25 10:48:40 +01:00
Jörn Friedrich Dreyer
8a8aa2dc52
use micre v3 registry interface
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-22 15:08:50 +00:00
Jörn Friedrich Dreyer
03e1f95d49
fix lint
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-12-22 15:10:23 +00:00
Jörn Friedrich Dreyer
7dbc1af76f
add OCIS_URL env var
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-12-21 16:20:02 +00:00
Willy Kloucek
73cf0fc36d
rename reva to proxy where applicable
2020-12-21 09:15:38 +01:00
Ilja Neumann and Jörn Friedrich Dreyer
92a1bc8fb6
Make it possible to use CS3 as accounts backend instead of account-service
...
Configureable via:
PROXY_ACCOUNT_BACKEND_TYPE=cs3
PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)
By using a backend which implements the CS3 user-api (currently provided by reva/storage) it is possible to bypass
the ocis-accounts service and for example use ldap directly.
Hides user and auth related communication behind a facade (user/backend) to minimize logic-duplication across middlewares.
Allows to switich the account backend from accounts to cs3.
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-12-11 18:34:43 +01:00
A.Unger
be46bacc5b
use make(map[string]string)
2020-12-03 13:23:14 +01:00
A.Unger
b9df6e417e
use more inclusive language
2020-12-03 12:13:52 +01:00
A.Unger
8c83de7db2
document loadUserAgent
2020-12-03 12:03:59 +01:00
A.Unger
ef4e573e42
split string by reversing it
2020-12-03 11:53:19 +01:00
A.Unger
2910e88ba5
ugly working draft
2020-12-02 15:31:17 +01:00
A.Unger
348c54f2e7
write www-authenticate and delegate to reva
2020-12-01 16:57:36 +01:00
A.Unger
5cb359d877
WIP
2020-11-30 17:19:03 +01:00
Benedikt Kulmann
a410d40166
Make userinfo cache configurable
2020-11-18 11:15:51 +01:00
Benedikt Kulmann
a5c09453b9
First implementation for userinfo cache without config
2020-11-17 17:10:14 +01:00
Florian Schade and Benedikt Kulmann
9798b49a7e
use ocis DefaultClient instead of micros DefaultClient
2020-11-17 11:32:12 +01:00
Florian Schade and Benedikt Kulmann
8be5323276
linting and other cleanups
2020-11-17 11:32:12 +01:00
Florian Schade and Benedikt Kulmann
f8aa1a5e08
refactor middlewares and reduce technical complexity
...
restructure server command and remove cfg.OIDC.Issuer switch, oidc middleware detects now if it should used or not
fix #761
2020-11-17 11:32:12 +01:00
Alex Unger and GitHub
f90d0d610e
Merge pull request #840 from owncloud/ocis-1018
...
Tweak go-micro behavior
2020-11-12 13:59:12 +01:00
A.Unger
641fd2703a
make version command registry aware
2020-11-12 11:53:37 +01:00
Benedikt Kulmann
4059b8e0a0
Fix service name tracing config
2020-11-11 21:08:46 +01:00