Following docs as in:
for this consumer:
I am sending:
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?response_type=code&client_id=75e6d99d5fbb98606b81150f948cf695
and I am getting the following answer:
The authorization server encountered an unexpected condition that prevented it from fulfilling the request.
I have tested my code (based on python requests_oauthlib) vs. other OAuth2 sites and it works.
Comment:
Discussing on IRC, some doubts were raised on this part:
https://github.com/wikimedia/mediawiki-extensions-OAuth/blob/39182b03b05df4814e544516805c6382f651018d/includes/frontend/specialpages/SpecialMWOAuth.php#L104
https://github.com/wikimedia/mediawiki-extensions-OAuth/blob/39182b03b05df4814e544516805c6382f651018d/includes/frontend/specialpages/SpecialMWOAuth.php#L85