Skip to content

Bug: Login fails with expired JWT tokens #1

@wistfulvariable

Description

@wistfulvariable

When a user's JWT token has expired, the validateToken function returns true instead of false. This causes authenticated requests to succeed with stale credentials.\n\nSteps to reproduce:\n1. Log in and get a JWT\n2. Wait for token to expire\n3. Try to access protected route\n4. Request succeeds when it should fail\n\nExpected: 401 Unauthorized\nActual: 200 OK with stale session

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions