Skip to content

Commit

Permalink
Port PR #1034 by dchanm
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed Dec 4, 2016
1 parent 78da4eb commit 155f77d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Added Dockerfile to simplify the running of tests (`make docker-tox`)

### Changed
- Fix auth_params for Stripe backend (port from [#1034](https://github.com/omab/python-social-auth/pull/1034)
by dchanm)
- Preserve order of backends in BACKENDSCACHE (port from [#1004](https://github.com/omab/python-social-auth/pull/1004)
by tsouvarev)
- Don't lose custom exception message on raising AuthCanceled (port from [#1062](https://github.com/omab/python-social-auth/pull/1062)
Expand Down
8 changes: 0 additions & 8 deletions social_core/backends/stripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ def get_user_details(self, response):
return {'username': response.get('stripe_user_id'),
'email': ''}

def auth_params(self, state=None):
client_id, client_secret = self.get_key_and_secret()
params = {'response_type': 'code',
'client_id': client_id}
if state:
params['state'] = state
return params

def auth_complete_params(self, state=None):
client_id, client_secret = self.get_key_and_secret()
return {
Expand Down

0 comments on commit 155f77d

Please sign in to comment.