Commit Graph

26 Commits

Author SHA1 Message Date
Willy Kloucek dedd5228f3 Merge pull request #3744 from wkloucek/idp-env-secrets
expose IDP secret configuration via environment variables
2022-05-09 13:36:04 +02:00
Michael Barz 8145478101 Merge pull request #3743 from owncloud/exit-on-parse-error
Exit when encountering config parsing errors
2022-05-09 13:33:28 +02:00
Willy Kloucek f2e44c6353 expose IDP secret configuration via environment variables 2022-05-09 12:01:46 +02:00
Michael Barz f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
Willy Kloucek deff182729 Merge branch 'master' into reenable-parallel-deployment-in-ci 2022-05-06 08:48:37 +02:00
Willy Kloucek 5581558869 add .keep file for idp asset folder to make unit tests run without generating assets 2022-05-05 15:51:19 +02:00
Willy Kloucek d2de2a775d add OCIS_OIDC_ISSUER config env 2022-05-05 15:45:22 +02:00
Willy Kloucek b09bc344da idp: configure clients in the idp configuration instead of the templated file 2022-05-05 15:20:09 +02:00
Michael Barz 189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Willy Kloucek b65936fe99 strip ocis- from command name for all standalone services 2022-05-03 17:08:23 +02:00
Willy Kloucek f9dcf37674 Merge branch 'master' into ocis-init 2022-05-02 08:30:11 +02:00
Jörn Friedrich Dreyer 4c53707920 omit extension name in ParseConfig doc
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 20:21:18 +00:00
Willy Kloucek 1cdb81bd3e add fixes from review 2022-04-29 16:10:21 +02:00
Ralf Haferkamp ce146f830f idp: Check if CA cert if present
Upon first start with the default configurtation the idm service creates
a server certificate, that might not be finished before the idp service
is starting. Add a check to idp similar to what the user, group, and
auth-providers implement.

Fixes: #3623
2022-04-29 13:18:10 +02:00
Willy Kloucek 4ff313b0a5 check for more secrets need to be set 2022-04-29 13:07:25 +02:00
Willy Kloucek e582b609b5 fix startup with ocis init 2022-04-28 17:20:10 +02:00
Willy Kloucek 83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00
Willy Kloucek ab254b05d0 remove all "omitempty" from config structs to bring back full configuration file documentation 2022-04-28 15:08:40 +02:00
Willy Kloucek 3054875a05 move config validation into a separate function 2022-04-28 11:10:39 +02:00
Willy Kloucek 4043f181b1 set generate ldap secrets 2022-04-27 17:00:31 +02:00
Willy Kloucek a37126f523 Merge branch 'master' into ocis-init 2022-04-27 15:50:26 +02:00
Ralf Haferkamp 45f0940071 Turn of "insecure" of built-in IDP
Setup idp to verify the LDAP server certificate. As this certificate
might be generated on startup, this also moved the IDP to the "delayed"
set of services. So it starts after "idm".
2022-04-26 18:59:10 +02:00
Ralf Haferkamp 1a38f3623c switch default config to idm
- The accounts and glauth service are turned off by default
- proxy is switch from "accounts" to "cs3" for the account backend
- The LDAP configuration (graph, idp, storage) of all services now
  points to idm instead of glauth
2022-04-26 18:59:10 +02:00
Christian Richter 8d81e39bd6 refactor yaml labels, add overwrite protection
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-19 15:14:01 +02:00
Christian Richter fdd94daae8 restore deleted files
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter bfc8db848c refactor idp
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00