Page MenuHomePhabricator

Can't use Quickstatements because login in fails
Closed, ResolvedPublic


I just installed and launched the wikibase container, but I can't use Quickstatements because login in fails.

I got this messages :

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
<br />
<b>Fatal error</b>:  Uncaught Exception: Error retrieving token1: {&amp;quot;error&amp;quot;:&amp;quot;mwoauth-callback-not-oob-or-prefix&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;oauth_callback must be set, and must be set to \&amp;quot;oob\&amp;quot; (case-sensitive), or the configured callback must be a prefix of the supplied callback.&amp;quot;,&amp;quot;callback&amp;quot;:&amp;quot;api.php&amp;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-&gt;doAuthorizationRedirect('api.php')
#1 {main}
  thrown in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>284</b><br />

It seems that default settings aren't correct (?)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Can't say if it's related but I also have some trouble with : http://localhost:8181/wiki/Special:OAuth/identify

{"error":"mwoauth-oauth-exception","message":"An error occurred in the OAuth protocol: Invalid consumer key"}
Hildepont set Due Date to Feb 17 2021, 12:00 AM.Feb 17 2021, 5:10 PM

Did you see any errors when you setup the wikis?
It sounds like something went wrong during the setup and thus you have an Invalid consumer key

Addshore changed the task status from Open to Stalled.Mar 5 2021, 12:07 PM
Addshore moved this task from Inbox to Blocked on the wdwb-tech board.

This may be the same as. The error message is the same.

Quickstatements login is broken due to invalid oauth_callback since June due to change in magnustools

Addshore claimed this task.

The wikibase-docker git repository will be going away.
This should be fixed in the newly released images etc

Please see the announcement for new images
Along with docs