patch oauth removal path redirect