Click on "Log in" on this page
https://quickstatements.staging.catalog.rhizome.org/api.php?action=oauth_redirect is loaded
despens | |
Jun 19 2018, 10:34 AM |
F24218793: image.png | |
Jul 27 2018, 5:47 PM |
F24218786: image.png | |
Jul 27 2018, 5:47 PM |
F24218895: image.png | |
Jul 27 2018, 5:47 PM |
Click on "Log in" on this page
https://quickstatements.staging.catalog.rhizome.org/api.php?action=oauth_redirect is loaded
@Addshore I am using Caddy.
However the issue is apparently that the OAuth extension doesn't work, Quickstatements tries to load https://staging.catalog.rhizome.org/wiki/Special:OAuth/initiate
According to Special:Version OAuth is present.
After adding wfLoadExtension( 'OAuth' ); and $wgSecretKey = "<randomString>"; to LocalSettings.php, and running update.php, the error changes to Error retrieving token: mwoauth-oauth-exception.
Do you see any errors messages in the mediawiki error / exception logs?
There may also be some OAuth specific logging you can enable (or just enable the full debug log)
@Tarrow got any time to look at this? (feel free to un-assign yourself if you don't)
@despens I guess you already followed it but did you have any problems with any steps from https://github.com/wmde/wikibase-docker/blob/master/quickstatements/README.md ?
Hi! I have indeed tried to follow those steps, but didn't get very far. When I log in as myself, a user with admin powers, I can go to http://<ourwikibase>/Special:OAuthConsumerRegistration, but I get this:
But then when I click on this first link, I get this:
My user permissions look like this:
Could there be some other settings that are preventing me from completing the OAuth consumer registration?
@LJ Sorry for taking so long. There are settings that are needed for proposing OAuth consumers.
I think in your setup the wikibase-bundle image provided files have been overwritten but you can see them here: https://github.com/wmde/wikibase-docker/blob/master/wikibase/1.30/bundle/LocalSettings.php.wikibase-bundle.template
Lines 1-6 should give you all that you need. Or did you already have these set?
I set those six lines to match the ones in that file, and I can now see the option to propose the OAuth consumer. Thank you @Tarrow!