Authentik OIDC errors when signing or encryption keys are used #12127
Replies: 2 comments
-
|
Ok, so I went to check with claude code what can be done with it. This worked for me: LibreChat/api/strategies/openidStrategy.js Lines 694 to 703 in cfaa633 I'm not sure if it's legit issue, I had OPENID_GENERATE_NONCE set to true, but it didn't work until I've added these fields explicitly. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the report! The It also sounds like Could you double-check that these are actually set in the running container's environment? (e.g. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I've followed Authentik OIDC setup from documentation, and when I try to login with OIDC, redirects and authentik login works fine, but after that when I go back to librechat, I've got txt page with
An unknown error occurred.And got this in the logs:
error: ErrorController => error invalid response encounteredWhen I left signing key and encryption key empty in provider's settings, I can login without any issues.
I've tried to run with DEBUG_OPENID_REQUESTS=true, but that's the only error I've got.
Version Information
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest e2105afcb948 8 days ago 1.9GB
ghcr.io/danny-avila/librechat-dev latest 6ae79e5362d5 8 days ago 1.93GB
Steps to Reproduce
What browsers are you seeing the problem on?
Firefox
Relevant log output
error: ErrorController => error invalid response encounteredScreenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions