Skip to content
Discussion options

You must be logged in to vote

@psychomelet I just tried Authentik and got the same error as you before my fix:

ClientError: invalid response encountered
    at e (file:///home/danny/LibreChat/api/node_modules/openid-client/build/index.js:116:12)
    at errorHandler (file:///home/danny/LibreChat/api/node_modules/openid-client/build/index.js:139:23)
    at Module.authorizationCodeGrant (file:///home/danny/LibreChat/api/node_modules/openid-client/build/index.js:916:21)
    at CustomOpenIDStrategy.authorizationCodeGrant (file:///home/danny/LibreChat/api/node_modules/openid-client/build/passport.js:135:41)

I can confirm that after my fix, it works:

2025-05-26T01:44:45.638Z info: [openidStrategy] user not found with openidI…

Replies: 5 comments 16 replies

Comment options

You must be logged in to vote
3 replies
@danny-avila
Comment options

@dkindlund
Comment options

@danny-avila
Comment options

Comment options

You must be logged in to vote
12 replies
@rubentalstra
Comment options

@danny-avila
Comment options

@danny-avila
Comment options

@danny-avila
Comment options

Answer selected by rubentalstra
@derhelge
Comment options

@danny-avila
Comment options

@derhelge
Comment options

@derhelge
Comment options

Comment options

You must be logged in to vote
1 reply
@danny-avila
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
9 participants
Converted from issue

This discussion was converted from issue #7519 on May 23, 2025 18:15.