Skip to content

Critical: tRPC Context JWT Signature Mismatch #2

Description

@cbrain-dev-new

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions