Commit Graph

70 Commits

Author SHA1 Message Date
Benedikt Kulmann
bc6227e8fd Fix test 2020-11-21 07:58:19 +01:00
Benedikt Kulmann
edc252e1a0 Add option to disable signing keys in the proxy 2020-11-20 16:04:22 +01:00
Felix Böhm
0ea04c02f9 Merge pull request #874 from owncloud/improve_docs
[docs-only] improve docs
2020-11-19 14:27:05 +01:00
Ilja Neumann
c2aa4b02de Add access-log 2020-11-19 09:05:24 +05:45
David Christofas
2f69265a66 add permission check to role management 2020-11-18 16:30:51 +01:00
Phil Davis
a643ad4acd Merge pull request #886 from owncloud/show-basic-auth-warning-on-startup-only
Show basic_auth warning only on startup
2020-11-18 19:25:33 +05:45
Ilja Neumann
79e7f85a57 Show basic_auth warning only on startup 2020-11-18 12:51:41 +01:00
Benedikt Kulmann
08e218aa3e Use expiration from access token if available 2020-11-18 12:08:23 +01:00
Benedikt Kulmann
a410d40166 Make userinfo cache configurable 2020-11-18 11:15:51 +01:00
Benedikt Kulmann
f1082ca033 Fix comments 2020-11-18 08:48:38 +01:00
Benedikt Kulmann
b136966b51 Move claim retrieval (from endpoint or cache) into function 2020-11-17 17:25:48 +01:00
Benedikt Kulmann
a5c09453b9 First implementation for userinfo cache without config 2020-11-17 17:10:14 +01:00
Benedikt Kulmann
3600d17eba Fix basic auth middleware for public links context 2020-11-17 12:39:56 +01:00
Benedikt Kulmann
1bcdf15bde Remove already implemented TODO 2020-11-17 12:23:40 +01:00
Benedikt Kulmann
f721caac90 Fix logs messages 2020-11-17 12:19:59 +01:00
Florian Schade
9798b49a7e use ocis DefaultClient instead of micros DefaultClient 2020-11-17 11:32:12 +01:00
Florian Schade
982223c7be fix signedURL expiry validation 2020-11-17 11:32:12 +01:00
Florian Schade
8be5323276 linting and other cleanups 2020-11-17 11:32:12 +01:00
Florian Schade
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
Willy Kloucek
f2a1c06145 fix typos, force oCIS and add links 2020-11-17 11:05:14 +01:00
Willy Kloucek
20eae462b3 fix exit path for commands templates 2020-11-17 07:59:48 +01:00
Willy Kloucek
f7bcbc8737 fix whitespaces 2020-11-13 08:09:45 +01:00
Willy Kloucek
f1fed2de81 add / edit templates for configuration docs 2020-11-13 08:09:45 +01:00
A.Unger
cefbaa67d2 rerun 2020-11-12 19:42:35 +01:00
A.Unger
c116e2a025 Merge branch 'master' into run-tidy-globally 2020-11-12 19:42:02 +01:00
Alex Unger
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
A.Unger
f2546c6191 run go mod tidy globally 2020-11-12 11:31:49 +01:00
Benedikt Kulmann
4059b8e0a0 Fix service name tracing config 2020-11-11 21:08:46 +01:00
A.Unger
951a441f65 cleanup old comments 2020-11-11 15:52:13 +01:00
A.Unger
76c633e650 wip 2020-11-11 11:50:53 +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
54c78adcb3 pass on basic auth for public links
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
76c63ef696 close request bodies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
46a11d42ca update proxy rules
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
6382cdae3a provide issuer to account_uuid middleware to mint complete token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
6f46e1bccb use the account.id as ocis userid, tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
b288fae10a update tests, forward failed basic auth to render correct error body
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
ad531839a9 rebase and tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
fbfa05e9b6 always return 401 when auth fails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
cbbf31a7ce end requesrt when basic auth fails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +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
157e460945 normalize log messages to use lowercase 2020-11-04 16:00:09 +01:00
A.Unger
0c39d74a30 Merge branch 'master' into config-housekeeping-proxy 2020-11-04 15:11:46 +01:00
A.Unger
25a539c8fe update reva@master on proxy 2020-10-21 12:13:35 +02:00
A.Unger
8fe3ac9b33 wip correctly parse config 2020-10-09 11:24:04 +02:00
Michael Barz
4e78fc2d5b Remove ocis tags from changelog, correct urls 2020-10-07 16:33:01 +02:00
Michael Barz
6c9840f9df transfer all changelogs from the extensions to the root 2020-10-07 16:33:01 +02:00
Phil Davis
142a652b51 Delete README.md from extension folders 2020-10-05 15:53:36 +05:45
Phil Davis
d8554a5685 Delete excess .github from extension folders 2020-10-05 15:53:36 +05:45