Re: [Wikitech-l] mwoauth.errors.OAuthException in Flask

2019-04-09 Thread Brad Jorsch (Anomie)
On Tue, Apr 9, 2019 at 10:17 AM David Barratt wrote: > Unfortunately (afaik) there is no way to test the workflow without a > getting a real consumer. > That shouldn't be too much of a problem, since the owner can use the consumer for testing while it's still in the "proposed" state. -- Brad

Re: [Wikitech-l] mwoauth.errors.OAuthException in Flask

2019-04-09 Thread Brad Jorsch (Anomie)
On Tue, Apr 9, 2019 at 6:00 AM Egbe Eugene wrote: > *MediaWiki response lacks token information: {b'Consumer is owner-only, class': [b'"external" > href="https://www.mediawiki.org/wiki/Help:OAuth/Errors#E010 > ">E010']}* > > I am not sure

Re: [Wikitech-l] mwoauth.errors.OAuthException in Flask

2019-04-09 Thread David Barratt
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

[Wikitech-l] mwoauth.errors.OAuthException in Flask

2019-04-09 Thread Egbe Eugene
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,