From 480090ebe494ed3fdb19732ac0dd3b194da4039f Mon Sep 17 00:00:00 2001 From: Marty McGuire Date: Thu, 9 Mar 2017 22:18:20 -0500 Subject: [PATCH] Include `response_type` in initial auth parameters micropub.rocks client tests die on initial authorization if `response_type=code` is not included in the original parameters --- flask_micropub.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flask_micropub.py b/flask_micropub.py index 6394ac4..b97f13a 100644 --- a/flask_micropub.py +++ b/flask_micropub.py @@ -135,6 +135,7 @@ class MicropubClient: 'me': me, 'client_id': self.client_id, 'redirect_uri': redirect_url, + 'response_type': 'code', 'state': '{}|{}'.format(csrf_token, state or ''), } if scope: