]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Update how to register application with Google 2932/head
author= <=>
Sun, 4 Oct 2020 08:33:09 +0000 (15:33 +0700)
committer= <=>
Sun, 4 Oct 2020 08:33:09 +0000 (15:33 +0700)
tornado/auth.py

index 5f1068c95b1ecf361d834cc6c799cf531615239d..d1cf29b39d8d72204fbbacf7088e2b9b2d874032 100644 (file)
@@ -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}}``