pomatez icon indicating copy to clipboard operation
pomatez copied to clipboard

Integration with Todoist

Open AnishDe12020 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. Pomatez is a great pomodoro timer, however, the task limit seems quite limited to me. It would be cool if we had a Todoist integration (and maybe even other applications later)

Describe the solution you'd like A Todoist integration for the tasks tab so todoist tasks would reflect there and we can add and complete tasks from there (doesn't need to be anything too fancy)

Describe alternatives you've considered None yet.

Additional context Looking at the code, we can have a script that syncs with Todoist in the background and updates the redux store (or updates Todoist when an action like a complete task is dispatched from the app).

AnishDe12020 avatar Feb 23 '22 04:02 AnishDe12020

Suggested in the past here https://github.com/roldanjr/pomatez/discussions/139

As mentioned there, I use Todoist for my daily tasks so I may take a look into doing this at some point. Though there are a fair few other issues to focus on first.

sekwah41 avatar Feb 25 '22 03:02 sekwah41

I've had a look at the todoist API docs and it doesn't look like they have OAuth set up for public clients (namely lacking PKCE or implicit flow). This means a backend would be need to complete the code grant. Obviously not a dealbreaker but just infrastructure that would have to be hosted somewhere and that means infrastructure will have to be managed.

gillisandrew avatar Feb 27 '22 02:02 gillisandrew

I've had a look at the todoist API docs and it doesn't look like they have OAuth set up for public clients (namely lacking PKCE or implicit flow). This means a backend would be need to complete the code grant. Obviously not a dealbreaker but just infrastructure that would have to be hosted somewhere and that means infrastructure will have to be managed.

Alternatively, they also support the user plugging in an API key into the client application which should not need any infrastructure.

AnishDe12020 avatar Feb 27 '22 03:02 AnishDe12020