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:
parent
9ac8c44761
commit
480090ebe4
|
@ -135,6 +135,7 @@ class MicropubClient:
|
||||||
'me': me,
|
'me': me,
|
||||||
'client_id': self.client_id,
|
'client_id': self.client_id,
|
||||||
'redirect_uri': redirect_url,
|
'redirect_uri': redirect_url,
|
||||||
|
'response_type': 'code',
|
||||||
'state': '{}|{}'.format(csrf_token, state or ''),
|
'state': '{}|{}'.format(csrf_token, state or ''),
|
||||||
}
|
}
|
||||||
if scope:
|
if scope:
|
||||||
|
|
Loading…
Reference in New Issue