[Python-modules-commits] [python-social-auth] 82/322: Store Spotify's refresh_token.
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:12:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.10
in repository python-social-auth.
commit b5533e70e262a16cbd046111fe08efab85fabb0e
Author: Chris Barna <chris at unbrain.net>
Date: Sat Jan 10 16:50:26 2015 -0500
Store Spotify's refresh_token.
---
social/backends/spotify.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/social/backends/spotify.py b/social/backends/spotify.py
index 0c2d3c8..3074a45 100644
--- a/social/backends/spotify.py
+++ b/social/backends/spotify.py
@@ -16,6 +16,9 @@ class SpotifyOAuth2(BaseOAuth2):
ACCESS_TOKEN_URL = 'https://accounts.spotify.com/api/token'
ACCESS_TOKEN_METHOD = 'POST'
REDIRECT_STATE = False
+ EXTRA_DATA = [
+ ('refresh_token', 'refresh_token'),
+ ]
def auth_headers(self):
return {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git
More information about the Python-modules-commits
mailing list