You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/global/modules/core/pages/reference/component-model-server.adoc
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,11 +64,11 @@ To enable it you can specify the following environment variables.
64
64
|Variable |Description
65
65
66
66
|MODELIX_PERMISSION_CHECKS_ENABLED
67
-
|By default, permission checking is enabled when an algorithm for the JWT signature is configured.
67
+
|By default, permission checking is enabled when an algorithm for the JWT signature or a `MODELIX_JWK_URI` is configured.
68
68
This variable can be set explicitly to `true` or `false` to avoid security issues by a misconfigured algorithm.
69
69
70
70
|MODELIX_GENERATE_FAKE_JWT
71
-
|By default, if no signature algorithm is configured,
71
+
|By default, if no signature algorithm and no `MODELIX_JWK_URI` is configured,
72
72
a token is generated for all requests with the identity `[email protected]` and no permissions.
73
73
This option can be set to `true` or `false` to enable/disable this behaviour explicitly.
74
74
@@ -90,7 +90,10 @@ To enable it you can specify the following environment variables.
90
90
|MODELIX_JWK_URI
91
91
|If keys are created and signed by some OpenID connect server the public keys are provided via HTTP.
92
92
Here you can specify the URI of the key set.
93
-
Only RSA (256, 284 and 512) keys are currently supported.
93
+
Only RSA (256, 384 and 512) keys are currently supported.
94
+
95
+
|MODELIX_JWK_KEY_ID
96
+
|Optional key ID that can be used together with `MODELIX_JWK_URI`. If specified, it ensures that only tokens that use the specified key are valid. If not specified, a token can use any RSA (256, 384 and 512) key provided by `MODELIX_JWK_URI`.
0 commit comments