Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15331805
D8518.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8518.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 8, 1:54 PM (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7382622
Default Alt Text
D8518.diff (1 KB)
Attached To
Mode
D8518: Modernize Facebook OAuth instructions
Attached
Detach File
Event Timeline
Log In to Comment