Commit Graph

390 Commits

Author SHA1 Message Date
David Christofas
a85644cddd enable signature auth in public share auth middleware 2021-12-09 17:47:36 +01:00
A.Unger
e3e3d1ee57 runtime: removed trap goroutine and let the context cancelation do the thing 2021-12-06 12:11:48 +01:00
Alex Unger
a73fd54b85 Merge pull request #2779 from owncloud/claim-selector-basic-auth 2021-12-06 11:01:09 +01:00
Ralf Haferkamp
c35a0f7553 OIDC: fallback to "email" if IDP doesn't provide "preferred_username" claim
Some IDPs (e.g. Authelia) don't add the "preferred_username" claim.
Fallback to the "email" claim in that case.

Fixes: #2644
2021-11-30 17:53:44 +01:00
Willy Kloucek
d85def9b88 check cookie for before we fall back to the default policy 2021-11-29 09:51:39 +01:00
Willy Kloucek
62ff1f1659 don't run go generate anymore 2021-11-24 13:38:29 +01:00
A.Unger
24347180fa use ocisConfig as struct tagname to bind config files to strucg attributes 2021-11-19 09:28:23 +01:00
A.Unger
c427e623ef need to populate policies in the tests 2021-11-18 11:53:04 +01:00
A.Unger
c22d3fc24d prevent gookit/config to merge proxy values with default values 2021-11-18 11:44:08 +01:00
A.Unger
a34f5b6434 Revert "refactor config values to constants"
This reverts commit f53504158b.
2021-11-17 13:56:14 +01:00
A.Unger
f53504158b refactor config values to constants 2021-11-17 13:43:23 +01:00
A.Unger
ff611633f5 Revert "fixed code smells: string literal repetition + cyclomatic complexity"
This reverts commit aa4112e2e2.
2021-11-17 13:19:31 +01:00
A.Unger
aa4112e2e2 fixed code smells: string literal repetition + cyclomatic complexity 2021-11-17 12:25:21 +01:00
A.Unger
f87b5bd66c removed all flagset packages 2021-11-17 11:36:28 +01:00
A.Unger
8c307ef2bf add missing OCIS_INSECURE binding on PROXY_OIDC_INSECURE 2021-11-16 13:43:54 +01:00
A.Unger
2aa9c2457e Merge branch 'master' into try-gookikt-config 2021-11-16 13:29:07 +01:00
Willy Kloucek
74e7344221 prevent multiple yarn builds of accounts and settings when running make ci-node-generate int the repo root 2021-11-16 10:01:12 +01:00
A.Unger
d23ab5a01a Merge branch 'master' into try-gookikt-config 2021-11-15 19:38:05 +01:00
Willy Kloucek
62704ceb2e fix double "the" 2021-11-15 13:24:26 +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
2b0f414b46 Revert "fix code smells"
This reverts commit a22342ea28.
2021-11-15 10:16:20 +01:00
A.Unger
a22342ea28 fix code smells 2021-11-15 10:03:42 +01:00
A.Unger
e8559d17aa fix proxy integration tests 2021-11-11 14:00:42 +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
David Christofas
cd99845557 Merge pull request #2745 from owncloud/insecure-options
make all insecure options configurable and change the default to false
2021-11-10 17:49:15 +01:00
Willy Kloucek
6590565a2f introduce OCIS_INSECURE option 2021-11-10 16:55:12 +01:00
Willy Kloucek
e35d4fd0ac remove GRPC insecure config options, since it always needs to be set to insecure 2021-11-10 16:12:29 +01:00
Willy Kloucek
69cc11dbe6 make more insecure options configurable and change insecure defaults from true to false 2021-11-10 15:45:55 +01:00
A.Unger
04d8ec86ab Merge branch 'master' into try-gookikt-config 2021-11-10 14:31:38 +01:00
A.Unger
b961817519 fix proxy default config 2021-11-09 20:40:35 +01:00
A.Unger
51bee0e531 sort out flags precedence 2021-11-09 17:30:31 +01:00
Willy Kloucek
5b6bae0349 add archiver and app provider route to all deployment examples 2021-11-09 16:58:16 +01:00
Willy Kloucek
16bb92f89c fix hello deployment 2021-11-09 15:22:26 +01:00
A.Unger
c335c4dc29 config dump endpoint for proxy 2021-11-09 14:14:31 +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
4999d4a04c fix test 2021-11-08 11:47:20 +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
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
4194da4e88 add ocis.yaml 2021-11-04 10:53:40 +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