imxc / imxc-ui affinity 추가
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
STATUS_CODE="$(curl -s -o /dev/null -w '%{http_code}' http://imxc-keycloak-http/auth/realms/exem)"
|
||||
|
||||
if [ $STATUS_CODE -eq 404 ]; then
|
||||
TOKEN="$(curl -s -d "client_id=admin-cli" -d "username=admin" -d "password=cmoaA13!#" -d "grant_type=password" http://imxc-keycloak-http/auth/realms/master/protocol/openid-connect/token | jq -r '.access_token')"
|
||||
TOKEN="$(curl -s -d "client_id=admin-cli" -d "username=admin" -d "password=admin" -d "grant_type=password" http://imxc-keycloak-http/auth/realms/master/protocol/openid-connect/token | jq -r '.access_token')"
|
||||
|
||||
echo $TOKEN
|
||||
|
||||
|
||||
Reference in New Issue
Block a user