For the complete documentation index, see llms.txt. This page is also available as Markdown.

AUTH_SESSION_BAD_ALG

The JWT declares an unexpected signing algorithm.

401 Unauthorized · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/auth-session-bad-alg",
  "title": "Unauthorized",
  "status": 401,
  "code": "AUTH_SESSION_BAD_ALG",
  "detail": "Human-readable explanation.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

The JWT declares an unexpected signing algorithm.

How to fix it

Do not mint or alter tokens yourself; use the token exactly as returned by the login endpoint.