Merge: 98769cce0 205f87f98
Author: Michael Barz <mbarz@owncloud.com>
Date:   Mon Aug 8 15:36:34 2022 +0200

    Merge pull request #4346 from wkloucek/rewrite-oidc-well-known

    add middleware to rewrite the /.well-known/openid-configuration endpoint for external idps
This commit is contained in:
Michael Barz committed 2022-08-08 13:43:17 +00:00
1 parent 16dbaeaeba
commit 3847de2bdf
11 files changed
+18 -8

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.search.v0"
url: /grpc_apis/ocis_messages_search_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:21Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /grpc_apis/ocis_messages_settings_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:21Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /grpc_apis/ocis_messages_store_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:21Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /grpc_apis/ocis_messages_thumbnails_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:21Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.search.v0"
url: /grpc_apis/ocis_services_search_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:21Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /grpc_apis/ocis_services_settings_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:21Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /grpc_apis/ocis_services_store_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:21Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /grpc_apis/ocis_services_thumbnails_v0
date: 2022-08-08T12:47:20Z
date: 2022-08-08T13:42:20Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -234,6 +234,14 @@ pass:[true]
a| [subs=-attributes]
If set to 'true', the JWKS refresh request will occur every time an unknown KEY ID (KID) is seen. Always set a 'refresh_limit' when enabling this.
|`PROXY_OIDC_REWRITE_WELLKNOWN`
a| [subs=-attributes]
+bool+
a| [subs=-attributes]
pass:[false]
a| [subs=-attributes]
Enables rewriting the /.well-known/openid-configuration to the configured OIDC issuer. Needed by the Desktop Client, Android Client and iOS Client to discover the OIDC provider.
|`OCIS_JWT_SECRET` +
`PROXY_JWT_SECRET`
a| [subs=-attributes]
@@ -95,6 +95,7 @@ oidc:
refresh_timeout: 10
refresh_limit: 60
refresh_unknown_kid: true
rewrite_well_known: false
token_manager:
jwt_secret: ""
policy_selector:
+1
View File
@@ -29,6 +29,7 @@
| PROXY_OIDC_JWKS_REFRESH_TIMEOUT | uint64 | 10 | The timeout in seconds for an outgoing JWKS request.|
| PROXY_OIDC_JWKS_REFRESH_RATE_LIMIT | uint64 | 60 | Limits the rate in seconds at which refresh requests are performed for unknown keys. This is used to prevent malicious clients from imposing high network load on the IDP via ocis.|
| PROXY_OIDC_JWKS_REFRESH_UNKNOWN_KID | bool | true | If set to 'true', the JWKS refresh request will occur every time an unknown KEY ID (KID) is seen. Always set a 'refresh_limit' when enabling this.|
| PROXY_OIDC_REWRITE_WELLKNOWN | bool | false | Enables rewriting the /.well-known/openid-configuration to the configured OIDC issuer. Needed by the Desktop Client, Android Client and iOS Client to discover the OIDC provider.|
| OCIS_JWT_SECRET<br/>PROXY_JWT_SECRET | string | | The secret to mint and validate JWT tokens.|
| PROXY_ENABLE_PRESIGNEDURLS | bool | true | Allow OCS to get a signing key to sign requests.|
| PROXY_ACCOUNT_BACKEND_TYPE | string | cs3 | Account backend the PROXY service should use. Currently only 'cs3' is possible here.|