Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: no matching decryption secret #110

Open
robinhodemorais opened this issue Oct 3, 2024 · 1 comment
Open

Error: no matching decryption secret #110

robinhodemorais opened this issue Oct 3, 2024 · 1 comment

Comments

@robinhodemorais
Copy link

what could this error be?

`[auth][error] JWTSessionError: Read more at https://errors.authjs.dev#jwtsessionerror

[auth][cause]: Error: no matching decryption secret

at jwtDecrypt.clockTolerance (file:///app/tianji/node_modules/.pnpm/@[email protected][email protected]/node_modules/@auth/core/jwt.js:76:15)

at async flattenedDecrypt (file:///app/tianji/node_modules/.pnpm/[email protected]/node_modules/jose/dist/node/esm/jwe/flattened/decrypt.js:92:15)

at async compactDecrypt (file:///app/tianji/node_modules/.pnpm/[email protected]/node_modules/jose/dist/node/esm/jwe/compact/decrypt.js:15:23)

at async jwtDecrypt (file:///app/tianji/node_modules/.pnpm/[email protected]/node_modules/jose/dist/node/esm/jwt/decrypt.js:5:23)

at async Object.decode (file:///app/tianji/node_modules/.pnpm/@[email protected][email protected]/node_modules/@auth/core/jwt.js:67:25)

at async Module.session (file:///app/tianji/node_modules/.pnpm/@[email protected][email protected]/node_modules/@auth/core/lib/actions/session.js:17:29)

at async AuthInternal (file:///app/tianji/node_modules/.pnpm/@[email protected][email protected]/node_modules/@auth/core/lib/index.js:35:24)

at async Auth (file:///app/tianji/node_modules/.pnpm/@[email protected][email protected]/node_modules/@auth/core/index.js:109:34)

at async getAuthSession (file:///app/tianji/src/server/dist/src/server/model/auth.js:118:22)

at async Array.<anonymous> (file:///app/tianji/src/server/dist/src/server/ws/index.js:30:33)

[auth][details]: {}

[Socket] Authenticated throw error: Error: Can not get user info.

at Array.<anonymous> (file:///app/tianji/src/server/dist/src/server/ws/index.js:32:27)`
@moonrailgun
Copy link
Contributor

looks weird.
did you config any JWT_SECRET or AUTH_SECRET?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants