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
This commit is contained in:
Marty McGuire 2017-03-09 22:18:20 -05:00 committed by GitHub
parent 9ac8c44761
commit 480090ebe4
1 changed files with 1 additions and 0 deletions

View File

@ -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: