Clean up OAuth 2 support
diff --git a/samples/oauth2/appengine/main.py b/samples/oauth2/appengine/main.py
index 1c0676c..981e392 100644
--- a/samples/oauth2/appengine/main.py
+++ b/samples/oauth2/appengine/main.py
@@ -63,8 +63,11 @@
}))
else:
flow = OAuth2WebServerFlow(
- client_id='anonymous',
- client_secret='anonymous',
+ # Visit https://code.google.com/apis/console to
+ # generate your client_id, client_secret and to
+ # register your redirect_uri.
+ client_id='<YOUR CLIENT ID HERE>',
+ client_secret='<YOUR CLIENT SECRET HERE>',
scope='https://www.googleapis.com/auth/buzz',
user_agent='buzz-cmdline-sample/1.0',
domain='anonymous',
diff --git a/samples/oauth2/buzz/web_server_dance.py b/samples/oauth2/buzz/web_server_dance.py
index 7b94103..d0e1f6f 100644
--- a/samples/oauth2/buzz/web_server_dance.py
+++ b/samples/oauth2/buzz/web_server_dance.py
@@ -26,8 +26,8 @@
from oauth2client.tools import run
flow = OAuth2WebServerFlow(
- client_id='anonymous',
- client_secret='anonymous',
+ client_id='433807057907.apps.googleusercontent.com',
+ client_secret='jigtZpMApkRxncxikFpR+SFg',
scope='https://www.googleapis.com/auth/buzz',
user_agent='buzz-cmdline-sample/1.0',
domain='anonymous',
diff --git a/samples/oauth2/moderator/web_server_dance.py b/samples/oauth2/moderator/web_server_dance.py
index f478341..b3b9d35 100644
--- a/samples/oauth2/moderator/web_server_dance.py
+++ b/samples/oauth2/moderator/web_server_dance.py
@@ -26,8 +26,8 @@
from oauth2client.tools import run
flow = OAuth2WebServerFlow(
- client_id='anonymous',
- client_secret='anonymous',
+ client_id='433807057907.apps.googleusercontent.com',
+ client_secret='jigtZpMApkRxncxikFpR+SFg',
scope='https://www.googleapis.com/auth/moderator',
user_agent='moderator-cmdline-sample/1.0',
xoauth_displayname='Moderator Client Example App')