PlayXman / app-my-spotlight

Personal browser start page extension.
MIT License
0 stars 0 forks source link

Fix Todoist sync #105

Closed PlayXman closed 1 year ago

PlayXman commented 1 year ago

Auth token cannot be part of URL search params anymore.

The correct request

POST https://api.todoist.com/sync/v9/sync
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer XXXXXXXXXX

sync_token="*"&resource_types=["items", "projects"]

Before

POST https://api.todoist.com/sync/v9/sync
Content-Type: application/x-www-form-urlencoded

token=XXXXXXX&sync_token="*"&resource_types=["items", "projects"]
PlayXman commented 1 year ago

Github is wrong here. It has been merged, but for some reason, the PR ended up in error 🤷

The merge commit: https://github.com/PlayXman/app-my-spotlight/commit/0529ec82602a629c8d97e9ae31d91370e842044f