changed clientId and clientSecret to use hex encoding