Combine the Client ID and Secret, then Encode in Base64

ENCODED_CREDS=$(echo -n "${CLIENT_ID}:${CLIENT_SECRET}" | base64 –w 0)