making getClient work properly when no clientSecret is included in the get