correct the tutorial to save the oauth_token
authorAarno Aukia <a@aukia.com>
Wed, 26 Dec 2018 21:09:49 +0000 (23:09 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Dec 2018 21:09:49 +0000 (23:09 +0200)
Fixes #523

docs/auth_tutorial.rst

index 7c5becb834c0243d822d676c08e79496e019dbde..6a9e4abeca5a1918f76d78985aa7f704a578aa2e 100644 (file)
@@ -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.