Todoist credentials#
คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้ได้:
Supported authentication methods#
- API key
- OAuth2
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Todoist's REST API documentation
Using API key#
ในการตั้งค่า credentials นี้ คุณจะต้องมีบัญชี Todoist และ:
- API Key
วิธีขอ API Key:
- ใน Todoist ให้เปิด Integration settings
- เลือกแท็บ Developer
- คัดลอก API token แล้วนำไปใส่ใน n8n credential เป็น API Key
ดูรายละเอียดเพิ่มเติมได้ที่ Find your API token
Using OAuth2#
หมายเหตุสำหรับผู้ใช้ n8n Cloud
ผู้ใช้ Cloud ไม่จำเป็นต้องให้รายละเอียดการเชื่อมต่อ เลือก Connect my account เพื่อเชื่อมต่อผ่านเบราว์เซอร์ของคุณ
ถ้าคุณ self-hosting n8n คุณจะต้องมีบัญชี Todoist และ:
- Client ID
- Client Secret
ขอทั้งสองอย่างนี้ได้โดยการสร้างแอปพลิเคชัน:
- เปิด App Management Console ของ Todoist
- เลือก Create a new app
- กรอก App name เช่น
n8n integration
- เลือก Create app
- คัดลอก OAuth Redirect URL ของ n8n ไปใส่ใน Todoist เป็น OAuth redirect URL
- คัดลอก Client ID จาก Todoist ไปใส่ใน n8n credential
- คัดลอก Client Secret จาก Todoist ไปใส่ใน n8n credential
- ตั้งค่าแอป Todoist ที่เหลือตามที่เหมาะสมกับการใช้งานของคุณ
ดูรายละเอียดเพิ่มเติมได้ที่ Authorization Guide