我正在一个使用keycloak版本1.9.8的项目中。我想知道如何在application.properties文件中设置公钥。
已经尝试使用“ keycloak.realm-public-key”,我得到了
“无法从'applicationConfig绑定'keycloak.realm-public-key'...”
我的application.properties包含以下内容:
keycloak.realm = //the realm name//
keycloak.auth-server-url = //the auth url//
keycloak.resource = //the resource//
keycloak.ssl-required = none
keycloak.realm-public-key = //the key//
keycloak.public-client=true
keycloak.use-resource-role-mappings = true
答案 0 :(得分:0)
该属性称为:keycloak.realm-key。 该属性文件如下所示:
keycloak.realm = //the realm name//
keycloak.auth-server-url = //the auth url//
keycloak.resource = //the resource//
keycloak.ssl-required = none
keycloak.realm-key = //the key//
keycloak.public-client=true
keycloak.use-resource-role-mappings = true