v0.7.8 - REGRESSION - Error: Unknown authentication strategy "openid" #7520
-
What happened?After upgrading from v0.7.8-rc1 to v0.7.8, all openid authentication failed. Here's the error my users are seeing when clicking on
YAML has:
I have no idea what changed. Version Informationv0.7.8 Steps to Reproduce
What browsers are you seeing the problem on?Chrome Relevant log outputError: Unknown authentication strategy "openid"
at attempt (/app/node_modules/passport/lib/middleware/authenticate.js:193:39)
at authenticate (/app/node_modules/passport/lib/middleware/authenticate.js:370:7)
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at next (/app/node_modules/express/lib/router/route.js:149:13)
at Route.dispatch (/app/node_modules/express/lib/router/route.js:119:3)
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
at /app/node_modules/express/lib/router/index.js:284:15
at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
at next (/app/node_modules/express/lib/router/index.js:280:10)
at /app/api/node_modules/express-rate-limit/dist/index.cjs:752:7 ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 16 replies
-
I suspect the root cause of this regression is likely due to changes based on this PR: |
Beta Was this translation helpful? Give feedback.
-
Following a recent update to the latest version of Docker, our previously functional Authentik OpenID authentication is now failing. User will see webpage shown as "Internal Server Error" at location of "https://domain.ltd/oauth/openid/callback?code=xxx&state=" Error log is a little different though:
|
Beta Was this translation helpful? Give feedback.
-
Hi @danny-avila, considering there are multiple people independently reporting this issue, it's unlikely this is a localized problem specific to my setup of LibreChat. That said, I'll try to examine all the code changes between v0.7.8-rc1 and v0.7.8 to determine the possible root cause. To be crystal clear, I'm using just the pre-built Docker images and not building from source:
Thanks for your time on this issue. |
Beta Was this translation helpful? Give feedback.
-
#7559 fix this for me too. |
Beta Was this translation helpful? Give feedback.
-
If it requires a certain npm version, then there should be an |
Beta Was this translation helpful? Give feedback.
@psychomelet I just tried Authentik and got the same error as you before my fix:
I can confirm that after my fix, it works: