@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
fork

Configure Feed

Select the types of activity you want to include in your feed.

OAuth Server: Fix URI for creating a new application

Summary:
rP57f016b166de8d79aaf3d164268b034af96aae16 replaced the 'client/create/' path with 'edit/'.

Closes T16373

Test Plan:
* `./bin/config set phabricator.show-prototypes true`
* Unlock the Auth configuration
* Enable the "OAuth Server" prototype application: http://phorge.localhost/oauthserver/
* Go to http://phorge.localhost/auth/config/new/ and select "Phorge - Configure Phorge OAuth."
* On resulting http://phorge.localhost/auth/config/edit/1/, once you survived Step1, under "Step 2 of 2 - Configure OAuth Server", click the URI after "To configure OAuth, create a new application here:" and see that it's not a 404 anymore.

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: mainframe98, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16373

Differential Revision: https://we.phorge.it/D26542

+2 -2
+2 -2
src/applications/auth/provider/PhabricatorPhabricatorAuthProvider.php
··· 31 31 "**Step 2 of 2 - Configure OAuth Server**\n\n". 32 32 "To configure OAuth, create a new application here:". 33 33 "\n\n". 34 - "%s/oauthserver/client/create/". 34 + "%s". 35 35 "\n\n". 36 36 "When creating your application, use these settings:". 37 37 "\n\n". ··· 40 40 "After completing configuration, copy the **Client ID** and ". 41 41 "**Client Secret** to the fields above. (You may need to generate the ". 42 42 "client secret by clicking 'New Secret' first.)", 43 - $base_uri, 43 + $base_uri.'/oauthserver/edit/', 44 44 $login_uri); 45 45 } 46 46