You don't need this cast, just declate var authComplete = new Future<string>();