skattoju4/gtasks-cli

CLI Google Tasks Client: Authentication Issue in Headless Environment

Open

#4 opened on Aug 8, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (0 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

Gemini was last trying to implement a cli Client for Google tasks. The goal was to have a rich CLI like what you would get with ncurses or bubble tea with the ability to manage tasks including list create update delete and mark as complete. We ran into an issue when trying to authenticate with the users credentials. We created an oauth client but we kept getting rejected with 400 invalid request. Can you take a look and get the command gtask list to work ? make sure to get the credentials.json from me. The problem being faced was that the oob method of authentication has been deprecated and it required to use the loopback method however the problem is the current environment does not have access to a browser. An alternative that was being tried was to print the url to console after run local server but this results in the program blocking. One way around this is to listen in one thread and access the url in another thread.

trying to see if this auth process can be done with a cli browser like lynx or even curl commands Let me know if you have any clarifying questions.

Contributor guide