Revert oauth to server side