Nikerabbit created this task.
Nikerabbit added projects: Wikibase-Containers, User-Nikerabbit.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.
TASK DESCRIPTION
When trying to use QuickStatements from wikibase-docker, I always get this
error when I try to login:
<br />
<b>Fatal error</b>: Uncaught Exception: Error retrieving token1:
{&quot;error&quot;:&quot;mwoauth-callback-not-oob-or-prefix&quot;,&quot;message&quot;:&quot;oauth_callback
must be set, and must be set to \&quot;oob\&quot; (case-sensitive), or
the configured callback must be a prefix of the supplied
callback.&quot;,&quot;callback&quot;:&quot;api.php&quot;}
in /var/www/html/magnustools/public_html/php/oauth.php:284
Stack trace:
#0 /var/www/html/quickstatements/public_html/api.php(89):
MW_OAuth->doAuthorizationRedirect('api.php')
#1 {main}
thrown in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on
line <b>284</b><br />
This is because the `oauth_callback` parameter is `api.php` and not a full
URL. This is because a change in magnustools
<https://bitbucket.org/magnusmanske/magnustools/commits/acdd1fb3e2737c7d10a5f7c98c65ce55c8aff1c2#Lpublic_html/php/oauth.phpT260>
caused the previously ignored [[
https://phabricator.wikimedia.org/source/tool-quickstatements/browse/master/public_html/api.php$89
| `api.php` parameter in quickstatements ]] to now overriding the
`oauth_callback` which used to be `oob` I believe.
TASK DETAIL
https://phabricator.wikimedia.org/T268662
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Nikerabbit
Cc: Aklapper, Nikerabbit, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana,
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper,
Scott_WUaS, Asahiko, despens, Wikidata-bugs, aude, Nemo_bis, Addshore, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs