oauth revert to working state