@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorOAuthClientListController
4 extends PhabricatorOAuthClientController {
5
6 public function shouldAllowPublic() {
7 return true;
8 }
9
10 public function handleRequest(AphrontRequest $request) {
11 return id(new PhabricatorOAuthServerClientSearchEngine())
12 ->setController($this)
13 ->buildResponse();
14 }
15
16 protected function buildApplicationCrumbs() {
17 $crumbs = parent::buildApplicationCrumbs();
18
19 id(new PhabricatorOAuthServerEditEngine())
20 ->setViewer($this->getViewer())
21 ->addActionToCrumbs($crumbs);
22
23 return $crumbs;
24 }
25
26}