Details
-
Bug
-
Resolution: Done
-
Critical
-
7.10.1.GA
-
None
-
OpenShift 3.11, OpenShift 4.7 using OpenShift templates
-
False
-
False
-
CR1
-
Undefined
-
-
2021 Week 25-27 (from Jun 21)
Description
Token based auth is currently not working in the business central monitoring 7.10 container image. Per the documentation, the jvm parameter org.kie.server.token should be set to use a one time token and the parameters "org.kie.admin.user & org.kie.admin.pwd" shouldn't be configured.
I have seen the following issues when I tried token based auth
- The image expects the parameters "org.kie.admin.user & org.kie.admin.pwd" to be set for admin user in business central monitoring. I think we should use a different set of parameters for bc monitoring admin user and shouldn't rely on the above parameters
- When I set org.kie.server.token using the environment variable "KIE_SERVER_TOKEN", the business central monitoring image strangely sets the following jvm parameters "-Dorg.kie.server.user=adminUser -Dorg.kie.server.pwd=admin1!" even though the environment variables "KIE_ADMIN_USER" & "KIE_ADMIN_PWD" were not set.