From: = <=> Date: Sun, 4 Oct 2020 08:33:09 +0000 (+0700) Subject: Update how to register application with Google X-Git-Tag: v6.2.0b1~60^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=154aa5cbd3c8745ecc9b560005e31c260758e360;p=thirdparty%2Ftornado.git Update how to register application with Google --- diff --git a/tornado/auth.py b/tornado/auth.py index 5f1068c95..d1cf29b39 100644 --- a/tornado/auth.py +++ b/tornado/auth.py @@ -839,11 +839,10 @@ class GoogleOAuth2Mixin(OAuth2Mixin): * Go to the Google Dev Console at http://console.developers.google.com * Select a project, or create a new one. - * In the sidebar on the left, select APIs & Auth. - * In the list of APIs, find the Google+ API service and set it to ON. * In the sidebar on the left, select Credentials. - * In the OAuth section of the page, select Create New Client ID. - * Set the Redirect URI to point to your auth handler + * Click CREATE CREDENTIALS and click OAuth client ID. + * Under Application type, select Web application. + * Name OAuth 2.0 client and click Create. * Copy the "Client secret" and "Client ID" to the application settings as ``{"google_oauth": {"key": CLIENT_ID, "secret": CLIENT_SECRET}}``