fix oauth settings