Attempted to get oauth working on mobile with cordova