Skip to content

Commit

Permalink
Merge pull request #892 from modelix/fix/jwk-key-id-from-envvar
Browse files Browse the repository at this point in the history
fix(model-server): set jwkKeyId from system envvar
  • Loading branch information
benedekh authored Jul 11, 2024
2 parents 51cdc56 + df0e364 commit 0998984
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ModelixAuthorizationConfig : IModelixAuthorizationConfig {
URI("${keycloakBaseUrl}realms/$keycloakRealm/protocol/openid-connect/certs")
}
}
override var jwkKeyId: String? = null
override var jwkKeyId: String? = System.getenv("MODELIX_JWK_KEY_ID")
override var permissionSchema: Schema = buildPermissionSchema { }

private val hmac512KeyFromEnv by lazy {
Expand Down

0 comments on commit 0998984

Please sign in to comment.