From d416ba84f037fefb5a424fe81bf0d91a1ce22b02 Mon Sep 17 00:00:00 2001 From: Aarno Aukia Date: Wed, 26 Dec 2018 23:09:49 +0200 Subject: [PATCH] correct the tutorial to save the oauth_token Fixes #523 --- docs/auth_tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/auth_tutorial.rst b/docs/auth_tutorial.rst index 7c5becb..6a9e4ab 100644 --- a/docs/auth_tutorial.rst +++ b/docs/auth_tutorial.rst @@ -65,7 +65,7 @@ request token in the session since we will need it inside the callback URL request. Here is a pseudo example of storing the request token in a session:: - session.set('request_token', auth.request_token) + session.set('request_token', auth.request_token['oauth_token']) So now we can redirect the user to the URL returned to us earlier from the get_authorization_url() method. -- 2.25.1