Working oauth proof of concept