Differential D17104 Diff 41141 src/applications/auth/provider/PhabricatorPhabricatorAuthProvider.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/provider/PhabricatorPhabricatorAuthProvider.php
Show All 26 Lines | protected function getProviderConfigurationHelp() { | ||||
$base_uri = rtrim( | $base_uri = rtrim( | ||||
$config->getProperty(self::PROPERTY_PHABRICATOR_URI), '/'); | $config->getProperty(self::PROPERTY_PHABRICATOR_URI), '/'); | ||||
$login_uri = PhabricatorEnv::getURI($this->getLoginURI()); | $login_uri = PhabricatorEnv::getURI($this->getLoginURI()); | ||||
return pht( | return pht( | ||||
"**Step 2 of 2 - Configure Phabricator OAuth Instance**\n\n". | "**Step 2 of 2 - Configure Phabricator OAuth Instance**\n\n". | ||||
"To configure Phabricator OAuth, create a new application here:". | "To configure Phabricator OAuth, create a new application here:". | ||||
"\n\n". | "\n\n". | ||||
"%s/oauthserver/client/create/". | "%s/oauthserver/edit/form/default/". | ||||
"\n\n". | "\n\n". | ||||
"When creating your application, use these settings:". | "When creating your application, use these settings:". | ||||
"\n\n". | "\n\n". | ||||
" - **Redirect URI:** Set this to: `%s`". | " - **Redirect URI:** Set this to: `%s`". | ||||
"\n\n". | "\n\n". | ||||
"After completing configuration, copy the **Client ID** and ". | "After completing configuration, copy the **Client ID** and ". | ||||
"**Client Secret** to the fields above. (You may need to generate the ". | "**Client Secret** to the fields above. (You may need to generate the ". | ||||
"client secret by clicking 'New Secret' first.)", | "client secret by clicking 'New Secret' first.)", | ||||
▲ Show 20 Lines • Show All 166 Lines • Show Last 20 Lines |