File tree Expand file tree Collapse file tree
applications/accounts/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export TMP_CLIENT_SECRET="${KC_BOOTSTRAP_ADMIN_USERNAME}"
88echo " create_api_user: waiting for Keycloak to start..."
99
1010create_temporary_client () {
11- /opt/keycloak/bin/kc.sh bootstrap-admin service --client-id=${TMP_CLIENT} --client-secret:env=TMP_CLIENT_SECRET
11+ /opt/keycloak/bin/kc.sh bootstrap-admin service --client-id=${TMP_CLIENT} --client-secret:env=TMP_CLIENT_SECRET --http-management-port 9876
1212}
1313
1414delete_temporary_client () {
@@ -24,7 +24,7 @@ create_kc_config() {
2424
2525api_user_exists () {
2626 return $( /opt/keycloak/bin/kcadm.sh get users -q " username=$API_USERNAME " | grep -q " $API_USERNAME " ; echo $? )
27- }
27+ }
2828
2929create_api_user () {
3030 /opt/keycloak/bin/kcadm.sh create users -s " username=${API_USERNAME} " -s enabled=True
You can’t perform that action at this time.
0 commit comments