can I implement oauth for a json client?