Commit Graph

40 Commits

Author SHA1 Message Date
A.Unger
34253fcae2 remove flagset on proxy, use default config values 2021-10-29 11:51:08 +02:00
Willy Kloucek
cddb334f80 change default paths for oCIS services 2021-10-19 14:37:20 +02:00
Willy Kloucek
879827ca4b don't expose services by default 2021-10-12 14:00:33 +02:00
jkoberg
3a7b7c932c rename envvar to REVA_GATEWAY 2021-10-07 15:16:19 +02:00
jkoberg
31f1301c9e unify all envvars, cli parameters and descriptions 2021-10-07 12:32:57 +02:00
jkoberg
8bb74dbc6f add common EnvVar for Reva Gateway 2021-10-06 17:35:12 +02:00
Willy Kloucek
1b9ec56af4 remove proxy asset path configuration 2021-10-05 14:10:41 +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
fcd861f38f Add machine auth API key to ocs service 2021-09-21 17:49:15 +02:00
Ishank Arora
08c51ee8c8 Use reva's Authenticate method instead of spawning token managers 2021-09-21 15:50:19 +02:00
A.Unger
93f13388dd add OCIS_TRACING_* flags to all extensions 2021-08-06 11:51:36 +02:00
Jörn Friedrich Dreyer
07bb4a179e clarify cs3 claims
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:42:40 +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
2e28582c1b cherrypick extensions to start v1 2021-06-29 15:28:19 +02:00
A.Unger
83f628052d add new os pkg on ocis-pkg 2021-06-08 13:08:32 +02:00
A.Unger
fb31bf4427 namespace user config dir with ocis 2021-06-08 10:45:10 +02:00
A.Unger
150e5f4c01 use os.UserConfigDir 2021-06-07 15:44:45 +02:00
A.Unger
2508ce0ef7 use user system config to store tls artifacts 2021-06-07 15:00:52 +02:00
A.Unger
fa27def950 suport for proxy 2021-03-17 15:42:24 +01:00
A.Unger
c1f489a258 update config parsing for accounts and proxy 2021-03-12 13:47:52 +01:00
A.Unger
e25f5b1c98 add proxy 2021-03-04 13:56:49 +01:00
Willy Kloucek
2efbb13e66 change secrets on deploy 2021-02-10 14:20:38 +01: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
9c34174d45 make tracing defaults consistent 2020-12-17 15:47:47 +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
b9df6e417e use more inclusive language 2020-12-03 12:13:52 +01:00
A.Unger
a9922343ef explain flags 2020-12-03 10:57:32 +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
c124102df2 Merge pull request #627 from butonic/add-basic-auth-option
add enable basic auth option and check permissions
2020-11-05 16:36:16 +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
A.Unger
8fe3ac9b33 wip correctly parse config 2020-10-09 11:24:04 +02: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
91bd83938b update proxy import paths and module name 2020-09-18 12:48:35 +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