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
3206b98359
attempt to fix flags
2021-11-05 16:20:00 +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
418cc97fb9
update proxy bindings
2021-11-03 16:32:11 +01:00
A.Unger
572e238dcd
infere go type from destination
2021-11-03 16:01:45 +01:00
A.Unger
7ac71b65f6
backwards compatibility with urfave/cli
2021-11-03 14:56:31 +01:00
A.Unger
90844c5c84
first draft of config loading exclusively using env vars
2021-11-03 14:46:38 +01:00
A.Unger
ac373dd004
add mode mappings to proxy config struct
2021-11-03 11:49:40 +01:00
A.Unger
850fe65f4b
comments for mappings
2021-11-03 11:39:23 +01:00
A.Unger
09195ffc8c
use reflection to set config values from environment
2021-11-03 11:34:56 +01: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
Willy Kloucek
1b9ec56af4
remove proxy asset path configuration
2021-10-05 14:10:41 +02:00
Ishank Arora
08c51ee8c8
Use reva's Authenticate method instead of spawning token managers
2021-09-21 15:50:19 +02:00
Josh Soref
55667a3ab3
spelling
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2021-09-20 16:54:29 +05:45
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
b540ccdf10
add regex rule priority, drop request from selector signature, add unit tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
4385d3dacb
add RegexSelector
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-23 08:22:40 +00:00
Jörn Friedrich Dreyer
40c8031441
add claims policy selector
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-23 08:07:17 +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
A.Unger
5518c6cf1c
add tests for crypto.GenCert
2021-06-08 10:37:26 +02:00
A.Unger
fa27def950
suport for proxy
2021-03-17 15:42:24 +01:00
A.Unger
4e37d4a2f6
update commands when running in supervised mode
2021-03-10 11:10:46 +01:00
A.Unger
e25f5b1c98
add proxy
2021-03-04 13:56:49 +01:00
Willy Kloucek
73cf0fc36d
rename reva to proxy where applicable
2020-12-21 09:15:38 +01:00
Ilja Neumann
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
ad4ea3efe7
Merge branch 'master' into ocis-1132
2020-12-04 12:39:57 +01:00
Willy Kloucek
fe2efc3c46
change to InsecureBackends flag
2020-12-04 07:31:46 +01:00
Willy Kloucek
200872b3b4
make insecure upstream servers configurable
2020-12-04 07:31:46 +01:00
A.Unger
c89ead3fc5
fix linter
2020-12-03 12:19:49 +01:00
A.Unger
2910e88ba5
ugly working draft
2020-12-02 15:31:17 +01:00
Benedikt Kulmann
edc252e1a0
Add option to disable signing keys in the proxy
2020-11-20 16:04:22 +01:00
Benedikt Kulmann
a410d40166
Make userinfo cache configurable
2020-11-18 11:15:51 +01:00
Jörn Friedrich Dreyer
d75d626695
add enable basic auth option
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
60c319faed
Add autoprovision accounts flag
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-10-05 11:25:02 +02:00
David Christofas
0578092c6f
add version command and add build information to metrics
...
Signed-off-by: David Christofas <dchristofas@owncloud.com >
2020-09-25 13:31:14 +02:00
A.Unger
598ca6c405
Add 'proxy/' from commit '201b9a652685cdfb72ba81c7e7b00ba1c60a0e35'
...
git-subtree-dir: proxy
git-subtree-mainline: 571d96e856
git-subtree-split: 201b9a6526
2020-09-18 12:47:26 +02:00