With owner-only consumers, you cannot use the grant process: https://www.mediawiki.org/wiki/OAuth/Owner-only_consumers you can use the resource directly. When you request an owner-only token, you should get an access token at that point. Unfortunately (afaik) there is no way to test the workflow without a getting a real consumer.
On Tue, Apr 9, 2019 at 6:00 AM Egbe Eugene <[email protected]> wrote: > Hello All, > > i am not sure this is the right channel to send this. Nevertheless, I am > trying to login using OAuth from a flask application and I am getting an > error which says > > *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. Please i need some help on this. > > Thanks. > <Eugene233> > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
