Skip to content

Fix Todoist apps for API v1 and current OAuth endpoints #3266

Description

@tlambrou

Problem

The Todoist and Todoist Tasks community apps still use the retired Todoist REST v2 task endpoint and old OAuth URLs. They also expect the legacy bare-array task response, so existing installations can show errors or malformed states now that Todoist API v1 returns paginated objects.

Proposed fix

  • Preserve both apps’ names, IDs, encrypted OAuth credentials, configuration fields, and existing feature scope.
  • Fetch tasks from https://api.todoist.com/api/v1/tasks/filter using query and limit=200.
  • Parse the current {results, next_cursor} response; show 200+ in the count app when another page exists.
  • Keep the list app to one API page and sort that page by priority.
  • Update authorization and token endpoints and include the redirect/grant parameters supplied by Tidbyt OAuth.
  • Version cache keys so old REST v2 payloads cannot be reused.
  • Correct empty, hidden-empty, unauthenticated, cached, and API-error rendering.
  • Validate synthetic zero/one/many/200+/priority/long-text states with Pixlet and do not publish real Todoist content in preview artifacts.

Todoist API reference: https://developer.todoist.com/api/v1/

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions