marklagendijk/node-toogoodtogo-watcher

Error during `watch`

Closed this issue · 1 comments

The command was fine a few months ago so the config should be correct. The login command works, but not the watch command:

Error during request:
POST https://apptoogoodtogo.com/api/auth/v3/token/refresh
{
    "refresh_token": "e30.eyJzdWIiOiIzMjc5MTM0NiIsImV4cCI6MTY3Mjc2ODI4MiwidCI6ImFpb0VCSWYyVDV1Mlp5ZmgwZXVfZ2c6MDowIn0.wg4DQZ0gzmdza6H--6MvDnkW1d0G9w7fqlGg_WbiWYk"
}

HTTPError: Response code 403 (Forbidden)
    at Request.<anonymous> (/usr/local/lib/node_modules/toogoodtogo-watcher/node_modules/got/dist/source/as-promise/index.js:117:42)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Hi there,

the latest version should work fine, with the new features for email login verification without password. Also, you can search the latest PRs since there is also a way to ise the refresh tokens.