Error Description:
A critical issue has been reported where the tRPC authentication context fails to validate the session token, resulting in a signature mismatch on the JWT decrypter.
Module Affected:
packages/trpc/server/context.ts
Line: 12
Error Code: JWT_SIG_INVALID
Impact:
This error is causing authentication failures in the API route, preventing the tRPC context from returning a valid tenantId.
Steps to Reproduce:
- Trigger an API call requiring token validation in tRPC.
- Observe the failure in token signature verification.
Severity: Critical
Please investigate and resolve at the earliest. This task is assigned to @ahmadjavaiddev due to his expertise in related commits.
Error Description:
A critical issue has been reported where the tRPC authentication context fails to validate the session token, resulting in a signature mismatch on the JWT decrypter.
Module Affected:
packages/trpc/server/context.tsLine: 12
Error Code: JWT_SIG_INVALID
Impact:
This error is causing authentication failures in the API route, preventing the tRPC context from returning a valid
tenantId.Steps to Reproduce:
Severity: Critical
Please investigate and resolve at the earliest. This task is assigned to @ahmadjavaiddev due to his expertise in related commits.