commit 6e848c7254
Author: Ralf Haferkamp <rhaferkamp@owncloud.com> Date: Mon Jul 25 16:38:10 2022 +0200 Use mutex for lazy init function To avoid possible threading issues
This commit is contained in:
1 parent
07f9a86eea
commit
e3e9c1a5f1
11 files changed
+59
-8
No files matched your search
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.search.v0"
|
||||
url: /grpc_apis/ocis_messages_search_v0
|
||||
date: 2022-08-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:17Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.settings.v0"
|
||||
url: /grpc_apis/ocis_messages_settings_v0
|
||||
date: 2022-08-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:16Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.store.v0"
|
||||
url: /grpc_apis/ocis_messages_store_v0
|
||||
date: 2022-08-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:16Z
|
||||
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-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:16Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.search.v0"
|
||||
url: /grpc_apis/ocis_services_search_v0
|
||||
date: 2022-08-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:16Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.settings.v0"
|
||||
url: /grpc_apis/ocis_services_settings_v0
|
||||
date: 2022-08-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:16Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.store.v0"
|
||||
url: /grpc_apis/ocis_services_store_v0
|
||||
date: 2022-08-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:17Z
|
||||
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-03T08:13:48Z
|
||||
date: 2022-08-03T10:02:16Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -178,6 +178,14 @@ pass:[true]
|
||||
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`
|
||||
a| [subs=-attributes]
|
||||
+string+
|
||||
a| [subs=-attributes]
|
||||
pass:[jwt]
|
||||
a| [subs=-attributes]
|
||||
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`
|
||||
a| [subs=-attributes]
|
||||
+int+
|
||||
@@ -194,6 +202,38 @@ pass:[10]
|
||||
a| [subs=-attributes]
|
||||
Max TTL in seconds for the OIDC user info cache.
|
||||
|
||||
|`PROXY_OIDC_JWKS_REFRESH_INTERVAL`
|
||||
a| [subs=-attributes]
|
||||
+uint64+
|
||||
a| [subs=-attributes]
|
||||
pass:[60]
|
||||
a| [subs=-attributes]
|
||||
The interval for refreshing the JWKS (JSON Web Key Set) in minutes in the background via a new HTTP request to the IDP.
|
||||
|
||||
|`PROXY_OIDC_JWKS_REFRESH_TIMEOUT`
|
||||
a| [subs=-attributes]
|
||||
+uint64+
|
||||
a| [subs=-attributes]
|
||||
pass:[10]
|
||||
a| [subs=-attributes]
|
||||
The timeout in seconds for an outgoing JWKS request.
|
||||
|
||||
|`PROXY_OIDC_JWKS_REFRESH_RATE_LIMIT`
|
||||
a| [subs=-attributes]
|
||||
+uint64+
|
||||
a| [subs=-attributes]
|
||||
pass:[60]
|
||||
a| [subs=-attributes]
|
||||
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`
|
||||
a| [subs=-attributes]
|
||||
+bool+
|
||||
a| [subs=-attributes]
|
||||
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.
|
||||
|
||||
|`OCIS_JWT_SECRET` +
|
||||
`PROXY_JWT_SECRET`
|
||||
a| [subs=-attributes]
|
||||
|
||||
@@ -86,9 +86,15 @@ policies:
|
||||
oidc:
|
||||
issuer: https://localhost:9200
|
||||
insecure: true
|
||||
access_token_verify_method: jwt
|
||||
user_info_cache:
|
||||
size: 1024
|
||||
ttl: 10
|
||||
jwks:
|
||||
refresh_interval: 60
|
||||
refresh_timeout: 10
|
||||
refresh_limit: 60
|
||||
refresh_unknown_kid: true
|
||||
token_manager:
|
||||
jwt_secret: ""
|
||||
policy_selector:
|
||||
|
||||
@@ -22,8 +22,13 @@
|
||||
| REVA_GATEWAY | string | 127.0.0.1:9142 | The CS3 gateway endpoint.|
|
||||
| OCIS_URL<br/>OCIS_OIDC_ISSUER<br/>PROXY_OIDC_ISSUER | string | https://localhost:9200 | URL of the OIDC issuer. It defaults to URL of the builtin IDP.|
|
||||
| OCIS_INSECURE<br/>PROXY_OIDC_INSECURE | bool | true | 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.|
|
||||
| PROXY_OIDC_JWKS_REFRESH_INTERVAL | uint64 | 60 | The interval for refreshing the JWKS (JSON Web Key Set) in minutes in the background via a new HTTP request to the IDP.|
|
||||
| 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.|
|
||||
| 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.|
|
||||
|
||||
Reference in new issue
Block a user