tymondesigns/jwt-auth · error · Tymon\JWTAuth\Exceptions\TokenExpiredException

Token has expired and can no longer be refreshed

Error message

Token has expired and can no longer be refreshed

What it means

Error "Token has expired and can no longer be refreshed" thrown in tymondesigns/jwt-auth.

Source

Thrown at src/Claims/IssuedAt.php:59

    }

    /**
     * {@inheritdoc}
     */
    public function validatePayload()
    {
        if ($this->isFuture($this->getValue())) {
            throw new TokenInvalidException('Issued At (iat) timestamp cannot be in the future');
        }
    }

    /**
     * {@inheritdoc}
     */
    public function validateRefresh($refreshTTL)
    {
        if ($this->isPast($this->getValue() + $refreshTTL * 60)) {
            throw new TokenExpiredException('Token has expired and can no longer be refreshed');
        }
    }
}

View on GitHub (pinned to 6c70930a92)

When it happens

Trigger: Thrown at src/Claims/IssuedAt.php:59 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tymondesigns/jwt-auth@6c70930a92 (2026-08-21). Data as JSON: /api/errors/fe879443e25cf0a3. Report an issue: GitHub.