Have been struggling with this issue for a good few days.
I am currently trying to get oauth to work from node using passport-mediawiki.
I get as far as getting asked to authorise the oauth application for the user on a screen that reads:
Hi user1,
ResourceEdge Dev 5 would like to have basic access on your behalf on all projects of this site.
Privacy Policy Cancel Allow
Once I press Allow, I get the same box, but with the statement
There are problems with some of your input.
Hi user1,ResourceEdge Dev 5 would like to have basic access on your behalf on all projects of this site.
Privacy Policy Cancel Allow
(For the record, pressing cancel sends me to a page saying I did not allow the application access
As far as I can tell, there is no info as to what the issue is. I gave the user access to every part of OUTH, no success so far. Will add logs and so forth on next page if the option exist.
The node passport-mediawiki-oauth uses the following three urls to get information:
options.requestTokenURL = options.baseURL + '/index.php'; options.accessTokenURL = options.baseURL + '/index.php?title=Special:OAuth/token'; options.userAuthorizationURL = options.baseURL + '/index.php?title=Special:OAuth/authorize';
And I am pretty certain these are the right ones.
Version information as follows:
Installed software
Product Version
MediaWiki 1.24.1
PHP 5.4.16 (apache2handler)
MariaDB 5.5.41-MariaDB
Entry point URLs
Entry point URL
Article path /dbfswiki/index.php/$1
Script path /dbfswiki
index.php /dbfswiki/index.php
api.php /dbfswiki/api.php
load.php /dbfswiki/load.php
Installed skins
Skin Version License Description Authors
Cologne Blue – GPLv2+ A lightweight skin with minimal formatting Lee Daniel Crocker and others
Foreground 1.2-alpha (7d098d2) 14:23, 8 September 2014 License Provides a skin that focuses on putting your content in the foreground Garrick Van Buren, Jamie Thingelstad, Tom Hutchison and others
Modern – GPLv2+ A blue/grey theme with sidebar and top bar. Derived from MonoBook. River Tarnell and others
MonoBook – GPLv2+ The classic MediaWiki skin since 2004, named after the black-and-white photo of a book in the page background Gabriel Wicke and others
Vector – GPLv2+ Modern version of MonoBook with fresh look and many usability improvements Trevor Parscal, Roan Kattouw and others
Installed extensions
Semantic extensions
Extension Version License Description Authors
Semantic MediaWiki 2.1.1 GPL-2.0+ Making your wiki more accessible - for machines and humans (online documentation) Markus Krötzsch, Jeroen De Dauw, James Hong Kong and others
Semantic Result Formats 2.1.2 GPL-2.0+ Additional result formats for Semantic MediaWiki queries James Hong Kong, Stephan Gambke, Jeroen De Dauw, Yaron Koren and others
SMWAskAPI 0.9 alpha API for executing semantic queries (#ask) in Semantic MediaWiki Pierre Mz
Special pages
Extension Version License Description Authors
Interwiki 3.0 20140719 License Adds a special page to view and edit the interwiki table Stephanie Amanda Stevens, Alexandre Emsenhuber, Robin Pepermans, Siebrand Mazeland, Platonides, Raimond Spekking, Sam Reed, Jack Phoenix, Calimonius the Estrange and others
Renameuser – License Adds a special page to rename a user (need renameuser right) Ævar Arnfjörð Bjarmason and Aaron Schulz
Parser hooks
Extension Version License Description Authors
Cite – GPLv2 Adds <ref[ name=id]> and <references/> tags, for citations Ævar Arnfjörð Bjarmason, Andrew Garrett, Brion Vibber, Marius Hoch, Steve Sanbeg and others
CSS 3.3.0, 2014-03-31 A parser function that allows CSS stylesheets to be included in specific pages Aran Dunkley and Rusty Burchfield
Embed Document 0.13 Allows embedding *.pdf, *.doc and *.wav files on a wiki page SLohse and DrTrigon
ImageMap – License Allows client-side clickable image maps using <imagemap> tag Tim Starling
InputBox 0.2.0 Allow inclusion of predefined HTML forms Erik Moeller, Leonardo Pimenta, Rob Church, Trevor Parscal and DaSch
ParserFunctions 1.6.0 License Enhance parser with logical functions Tim Starling, Robert Rohde, Ross McClure and Juraj Simlovic
SyntaxHighlight 1.0.8.11-wmf1 License Provides syntax highlighting <syntaxhighlight> using GeSHi - Generic Syntax Highlighter Brion Vibber, Tim Starling, Rob Church and Niklas Laxström
Widgets 1.1 (24de39e) 21:13, 23 March 2015 Allows wiki administrators to add free-form widgets to the wiki by editing pages within the Widget namespace. Community-contributed widgets can be found on MediaWikiWidgets.org Sergey Chernyshev and others
Media handlers
Extension Version License Description Authors
PDF Handler – License Handler for viewing PDF files in image mode. Martin Seidel and Mike Połtyn
Spam prevention
Extension Version License Description Authors
ConfirmEdit 1.3 License Provides CAPTCHA techniques to protect against spam and password-guessing Brion Vibber and others
DataValues
Extension Version License Description Authors
DataValues 1.0 GPL-2.0+ Collection of objects representing various kinds of values Jeroen De Dauw
DataValues Common 0.2.3 GPL-2.0+ Contains common implementations of the interfaces defined by DataValuesInterfaces Jeroen De Dauw
DataValues Interfaces 0.1.5 GPL-2.0+ Defines interfaces for ValueParsers, ValueFormatters and ValueValidators Jeroen De Dauw
DataValues Validators 0.1.2 GPL-2.0+ Contains common ValueValidator implementations Jeroen De Dauw and The Wikidata team
Other
Extension Version License Description Authors
Bootstrap 1.1.3 GPLv3+ Provides the Bootstrap framework in the wiki Stephan Gambke and James Hong Kong
Extension Installer 0.2.2 (6d546f1) 19:47, 10 February 2014 Allows installing extensions and PHP libraries via Composer Jeroen De Dauw
Font Awesome – Adds support for FontAwesome icons Lee Miller
Gadgets – License Lets users select custom CSS and JavaScript gadgets in their preferences Daniel Kinzler and Max Semenik
Html5mediator – A simple way to embed audio and video files in a wiki Seung Park
Liquid Threads 2.2-alpha License Add threading discussions to talk pages David McCabe and Andrew Garrett
LocalisationUpdate 1.3.0 Keeps the localised messages as up to date as possible Tom Maaswinkel, Niklas Laxström and Roan Kattouw
OAuth – GPL-2.0+ Allows usage of OAuth 1.0a for API authorization Aaron Schulz, Chris Steipp and Brad Jorsch
Validator 2.0.4 GPL-2.0+ Declarative parameter processing library Jeroen De Dauw
WikiEditor 0.4.0 License Provides an extendable wikitext editing interface and many feature-providing modules Trevor Parscal, Roan Kattouw, Nimish Gautam and Adam Miller
WYSIWYG editor 1.5.6_0 [B551+02.02.2015], CKEditor 4.4.5 [revision 25cdcad] Allow editing using the WYSIWYG editor CKEditor Frederico Caldeira Knabben, Wiktor Walc, Jack Phoenix, ontoprise GmbH and MediaWiki community of wysiwyg
Parser extension tags<embed_document>, <gallery>, <html>, <html5media>, <imagemap>, <info>, <inputbox>, <nowiki>, <pre>, <ref>, <references>, <smwdoc>, <source>, <syntaxhighlight>, <talkpage> and <thread>
Parser function hooksanchorencode, ask, basepagename, basepagenamee, calendarenddate, calendarstartdate, canonicalurl, canonicalurle, cascadingsources, concept, css, declare, defaultsort, displaytitle, expr, filepath, formatdate, formatnum, fullpagename, fullpagenamee, fullurl, fullurle, gender, grammar, if, ifeq, iferror, ifexist, ifexpr, info, int, language, lc, lcfirst, localurl, localurle, lqtpagelimit, namespace, namespacee, namespacenumber, ns, nse, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, padleft, padright, pageid, pagename, pagenamee, pagesincategory, pagesize, plural, protectionlevel, rel2abs, revisionday, revisionday2, revisionid, revisionmonth, revisionmonth1, revisiontimestamp, revisionuser, revisionyear, rootpagename, rootpagenamee, set, set_recurring_event, show, smwdoc, special, speciale, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subobject, subpagename, subpagenamee, switch, tag, talkpagename, talkpagenamee, talkspace, talkspacee, time, timel, titleparts, uc, ucfirst, urlencode, useliquidthreads and widget