Page MenuHomePhabricator

D8518.diff
No OneTemporary

D8518.diff

diff --git a/src/applications/auth/provider/PhabricatorAuthProviderOAuthFacebook.php b/src/applications/auth/provider/PhabricatorAuthProviderOAuthFacebook.php
--- a/src/applications/auth/provider/PhabricatorAuthProviderOAuthFacebook.php
+++ b/src/applications/auth/provider/PhabricatorAuthProviderOAuthFacebook.php
@@ -10,7 +10,7 @@
}
public function getConfigurationHelp() {
- $uri = new PhutilURI(PhabricatorEnv::getProductionURI('/'));
+ $uri = PhabricatorEnv::getProductionURI($this->getLoginURI());
return pht(
'To configure Facebook OAuth, create a new Facebook Application here:'.
"\n\n".
@@ -18,14 +18,16 @@
"\n\n".
'You should use these settings in your application:'.
"\n\n".
- " - **Site URL**: Set this to your full domain with protocol. For ".
- " this Phabricator install, the correct value is: `%s`\n".
- " - **Site Domain**: Set this to the full domain without a protocol. ".
- " For this Phabricator install, the correct value is: `%s`\n\n".
+ " - **Site URL**: Set this to `%s`\n".
+ " - **Valid OAuth redirect URIs**: You should also set this to `%s`\n".
+ " - **Client OAuth Login**: Set this to **OFF**.\n".
+ " - **Embedded browser OAuth Login**: Set this to **OFF**.\n".
+ "\n\n".
+ "Some of these settings may be in the **Advanced** tab.\n\n".
"After creating your new application, copy the **App ID** and ".
"**App Secret** to the fields above.",
(string)$uri,
- $uri->getDomain());
+ (string)$uri);
}
public function getDefaultProviderConfig() {

File Metadata

Mime Type
text/plain
Expires
Thu, May 16, 10:16 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6273074
Default Alt Text
D8518.diff (1 KB)

Event Timeline