Skip to content
This repository
Browse code

Added response_type=code for authorize requests

  • Loading branch information...
commit 8bcba9a5f3db9fdcd2aff9e31245a33a053c5c39 1 parent d7f0f6c
Armin Ronacher authored October 06, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  flask_oauth.py
1  flask_oauth.py
@@ -339,6 +339,7 @@ def authorize(self, callback=None):
339 339
             params = dict(self.request_token_params)
340 340
             params['redirect_uri'] = callback
341 341
             params['client_id'] = self.consumer_key
  342
+            params['response_type'] = 'code'
342 343
             session[self.name + '_oauthredir'] = callback
343 344
             url = add_query(self.expand_url(self.authorize_url), params)
344 345
 

0 notes on commit 8bcba9a

Please sign in to comment.
Something went wrong with that request. Please try again.