Page MenuHomePhabricator

D8625.id20461.diff
No OneTemporary

D8625.id20461.diff

diff --git a/src/auth/PhutilAuthAdapterOAuthGoogle.php b/src/auth/PhutilAuthAdapterOAuthGoogle.php
--- a/src/auth/PhutilAuthAdapterOAuthGoogle.php
+++ b/src/auth/PhutilAuthAdapterOAuthGoogle.php
@@ -145,12 +145,24 @@
'under "APIs".'.
"\n\n".
'Around March 2014, Google made some API changes which require this '.
- 'configuration adjustment. (If you are unable to log into '.
- 'Phabricator, use "bin/auth recover" to recover access to an '.
- 'administrator account.)'.
+ 'configuration adjustment.'.
+ "\n\n".
+ 'Normally, you can resolve this issue by going to %s, then '.
+ 'clicking "API Project", then "APIs & auth", then turning the '.
+ '"Google+ API" on. The names you see on the console may be '.
+ 'different depending on how your integration is set up. If you '.
+ 'are not sure, you can hunt through the projects until you find '.
+ 'the one associated with the right Application ID under '.
+ '"Credentials". The Application ID this install is using is "%s".'.
+ "\n\n".
+ '(If you are unable to log into Phabricator, you can use '.
+ '"bin/auth recover" to recover access to an administrator '.
+ 'account.)'.
"\n\n".
'Full HTTP Response'.
"\n\n%s",
+ 'https://console.developers.google.com/',
+ $this->getClientID(),
$raw_body));
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 5:08 PM (1 d, 15 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7669371
Default Alt Text
D8625.id20461.diff (1 KB)

Event Timeline