I’m facing a minor issue and after putting much effort to fix this, I thought of asking for help/Advice to make a fix.
I have hosted the back-end of VideoCutTool in toolforge, https://tools.wmflabs.org/video-cut-tool-back-end/ and I’m trying to implement the MediaWiki OAuth by taking https://github.com/srish/nodejs-mediawiki-oauth-tool as a reference.
I have implemented here https://github.com/gopavasanth/video-cut-tool-back-end/blob/master/routes/index.js#L25
But when I use this https://tools.wmflabs.org/video-cut-tool-back-end/login route
I’m facing issue as “OAuth authentication requires session support”, When I tried to implement this in my local server https://ibb.co/qD0BvmK
I tried to fix this my self, I searched around and also went through the https://stackoverflow.com/questions/22298033/nodejs-passport-error-oauthstrategy-requires-session-support but nothing worked out