From 97e812d79db14b1de83534278bfdc8de69d90b8b Mon Sep 17 00:00:00 2001 From: David Christofas Date: Mon, 26 Sep 2022 09:23:43 +0000 Subject: [PATCH] commit f3a6f92dd6a95f0247cfd834db2901e23052a231 Merge: 35bf9bde1 c997e50b8 Author: David Christofas Date: Mon Sep 26 11:19:10 2022 +0200 Merge pull request #4601 from wkloucek/remove-default-insecure change the default value for PROXY_OIDC_INSECURE to false --- grpc_apis/ocis/messages/search/v0/grpc.md | 2 +- grpc_apis/ocis/messages/settings/v0/grpc.md | 2 +- grpc_apis/ocis/messages/store/v0/grpc.md | 2 +- grpc_apis/ocis/messages/thumbnails/v0/grpc.md | 2 +- grpc_apis/ocis/services/search/v0/grpc.md | 2 +- grpc_apis/ocis/services/settings/v0/grpc.md | 2 +- grpc_apis/ocis/services/store/v0/grpc.md | 2 +- grpc_apis/ocis/services/thumbnails/v0/grpc.md | 2 +- services/_includes/adoc/proxy_configvars.adoc | 2 +- services/_includes/proxy-config-example.yaml | 2 +- services/_includes/proxy_configvars.md | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index 444552b1222..a143179a5f8 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index 46718ce200f..4a0ee3e1697 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index 8bfdca6b1fc..26c768b3a4e 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index c6ba8e1a5a1..1dc16029c64 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index 7c4c923ada7..17cde104492 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index 7f7bd54e3e4..3a7b13994b1 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index ea75a0ff055..3b6255b0cc7 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index 9f3912f20c7..2ed36c29880 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-09-26T09:06:14Z +date: 2022-09-26T09:22:47Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/services/_includes/adoc/proxy_configvars.adoc b/services/_includes/adoc/proxy_configvars.adoc index 2a4cbc41fa5..8b8c44d4f12 100644 --- a/services/_includes/adoc/proxy_configvars.adoc +++ b/services/_includes/adoc/proxy_configvars.adoc @@ -154,7 +154,7 @@ URL of the OIDC issuer. It defaults to URL of the builtin IDP. a| [subs=-attributes] ++bool++ a| [subs=-attributes] -++true++ +++false++ a| [subs=-attributes] Disable TLS certificate validation for connections to the IDP. Note that this is not recommended for production environments. |`PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD` diff --git a/services/_includes/proxy-config-example.yaml b/services/_includes/proxy-config-example.yaml index 5474cf48db0..263b1f73d5a 100644 --- a/services/_includes/proxy-config-example.yaml +++ b/services/_includes/proxy-config-example.yaml @@ -101,7 +101,7 @@ policies: unprotected: true oidc: issuer: https://localhost:9200 - insecure: true + insecure: false access_token_verify_method: jwt user_info_cache: size: 1024 diff --git a/services/_includes/proxy_configvars.md b/services/_includes/proxy_configvars.md index 0190b4e0a64..413698a427b 100644 --- a/services/_includes/proxy_configvars.md +++ b/services/_includes/proxy_configvars.md @@ -21,7 +21,7 @@ | PROXY_TLS | bool | true | Use the HTTPS server instead of the HTTP server.| | REVA_GATEWAY | string | 127.0.0.1:9142 | The CS3 gateway endpoint.| | OCIS_URL
OCIS_OIDC_ISSUER
PROXY_OIDC_ISSUER | string | https://localhost:9200 | URL of the OIDC issuer. It defaults to URL of the builtin IDP.| -| OCIS_INSECURE
PROXY_OIDC_INSECURE | bool | true | Disable TLS certificate validation for connections to the IDP. Note that this is not recommended for production environments.| +| OCIS_INSECURE
PROXY_OIDC_INSECURE | bool | false | Disable TLS certificate validation for connections to the IDP. Note that this is not recommended for production environments.| | PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD | string | jwt | Sets how OIDC access tokens should be verified. Possible values are 'none' and 'jwt'. When using 'none', no special validation apart from using it for accessing the IPD's userinfo endpoint will be done. When using 'jwt', it tries to parse the access token as a jwt token and verifies the signature using the keys published on the IDP's 'jwks_uri'.| | PROXY_OIDC_USERINFO_CACHE_SIZE | int | 1024 | Cache size for OIDC user info.| | PROXY_OIDC_USERINFO_CACHE_TTL | int | 10 | Max TTL in seconds for the OIDC user info cache.|