Error: Unknown authentication strategy "jwt" #3036
Unanswered
thinksmartit
asked this question in
Help / Questions
Replies: 1 comment
-
I gave the explanation and I propose a bypass here: #1822 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've just completed a new installation of Wiki.js and am having an issue... Downloaded the wiki.js components fine, set it up in node.js selector in cPanel without issue, ran NPM install without issue, MySQL database created with login and all required permissions, config.yml file adjusted and set up ok.
After that, visiting the site for the first time brought up the initial configuration page for wiki.js. I created an administrative user and proceeded; at the end of a little progress animation, a message popped up indicating that the installation was complete (or something to that effect) along with a confetti animation and a redirecting now message. Upon redirecting to what I assume is the login page, I receive the error Unknown authentication strategy "jwt" (full log below).
On the troubleshooting page at https://docs.requarks.io/en/troubleshooting it suggests that I should "simply reload the page again" to fix this issue though this doesn't work. After the unknown authentication strategy error, refreshing the page takes a long time then eventually comes back with a request timeout. By restarting the node.js app from cPanel, I can then access the same page with the unknown authentication strategy error again. Any help would be appreciated! Thanks in advance!
cPanel Version: 92.0 (build 9)
Apache Version: 2.4.46 / Litespeed
MySQL Version: 10.3.27-MariaDB-cll-lve
Operating System: linux
Wiki.js version: 2.5.170
Node.js version: 14.15.1
Oops, something went wrong...
Unknown authentication strategy "jwt"
Error: Unknown authentication strategy "jwt"
at attempt (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/passport/lib/middleware/authenticate.js:190:39)
at authenticate (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/passport/lib/middleware/authenticate.js:367:7)
at authenticate (/home2/lemrcom/nodejs_apps/wiki/server/core/auth.js:206:7)
at Layer.handle [as handle_request] (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:317:13)
at /home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:335:12)
at next (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:275:10)
at initialize (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/passport/lib/middleware/initialize.js:53:5)
at Layer.handle [as handle_request] (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:317:13)
at /home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:335:12)
at next (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:275:10)
at session (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express-session/index.js:475:7)
at Layer.handle [as handle_request] (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:317:13)
at /home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:335:12)
at next (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/index.js:275:10)
at cookieParser (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/cookie-parser/index.js:71:5)
at Layer.handle [as handle_request] (/home2/lemrcom/nodevenv/nodejs_apps/wiki/14/lib/node_modules/express/lib/router/layer.js:95:5)
Beta Was this translation helpful? Give feedback.
All reactions