diff --git a/templates/packer/ansible/roles/common/files/worker-initialization-scripts/client_credentials.sh b/templates/packer/ansible/roles/common/files/worker-initialization-scripts/client_credentials.sh index 57555c052..6737c6471 100755 --- a/templates/packer/ansible/roles/common/files/worker-initialization-scripts/client_credentials.sh +++ b/templates/packer/ansible/roles/common/files/worker-initialization-scripts/client_credentials.sh @@ -20,7 +20,7 @@ rm -f /tmp/client-credentials.json sudo tee -a /etc/osbuild-worker/osbuild-worker.toml > /dev/null << EOF [authentication] -oauth_url = "${TOKEN_URL:-https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token}" +oauth_url = "${TOKEN_URL:-https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token}" client_id = "${CLIENT_ID}" client_secret = "/etc/osbuild-worker/client-secret" EOF