On Tue, Apr 9, 2019 at 6:00 AM Egbe Eugene <agboreug...@gmail.com> wrote:

> *MediaWiki response lacks token information: {b'Consumer is owner-only, <a
> class': [b'"external"
> href="https://www.mediawiki.org/wiki/Help:OAuth/Errors#E010
> <https://www.mediawiki.org/wiki/Help:OAuth/Errors#E010>">E010</a>']}*
>
> I am not sure why i got no response token.


You got no response token because you got an error response instead. As
stated at the link in the error message, owner-only consumers are
pre-authorized so the client should be configured with the token key and
secret directly instead of using the authorization endpoints.

I don't know how to do that using Flask; if you need help with that you'd
probably do better to ask in a forum specific to Flask.

-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to