[Python-modules-commits] [python-social-auth] 155/322: update Kakao OAuth2 backend : update auth process- Fixes #538
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:13:03 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 26cd45541aeb99df9ba9f879fefa863d29fbeabc
Author: dobestan <dobestan at gmail.com>
Date: Tue Mar 3 21:38:05 2015 +0900
update Kakao OAuth2 backend : update auth process- Fixes #538
---
social/backends/kakao.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/social/backends/kakao.py b/social/backends/kakao.py
index 0c60bfc..279a5aa 100644
--- a/social/backends/kakao.py
+++ b/social/backends/kakao.py
@@ -31,3 +31,10 @@ class KakaoOAuth2(BaseOAuth2):
"""Loads user data from service"""
return self.get_json('https://kapi.kakao.com/v1/user/me',
params={'access_token': access_token})
+
+ def auth_complete_params(self, state=None):
+ return {
+ 'grant_type': 'authorization_code',
+ 'code': self.data.get('code', ''),
+ 'client_id': self.get_key_and_secret()[0],
+ }
--
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