Implement OAuth close #4