Skip to content

Commit 0998984

Browse files
authored
Merge pull request #892 from modelix/fix/jwk-key-id-from-envvar
fix(model-server): set jwkKeyId from system envvar
2 parents 51cdc56 + df0e364 commit 0998984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authorization/src/main/kotlin/org/modelix/authorization/AuthorizationConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class ModelixAuthorizationConfig : IModelixAuthorizationConfig {
106106
URI("${keycloakBaseUrl}realms/$keycloakRealm/protocol/openid-connect/certs")
107107
}
108108
}
109-
override var jwkKeyId: String? = null
109+
override var jwkKeyId: String? = System.getenv("MODELIX_JWK_KEY_ID")
110110
override var permissionSchema: Schema = buildPermissionSchema { }
111111

112112
private val hmac512KeyFromEnv by lazy {

0 commit comments

Comments
 (0)