Todoist 凭据(Todoist credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
支持的身份验证方法(Supported authentication methods)#
- API 密钥
- OAuth2
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Todoist 的 REST API 文档。
🌐 Refer to Todoist's REST API documentation for more information about the service.
使用 API 密钥(Using API key)#
要配置此凭据,你需要一个 Todoist 账户以及:
🌐 To configure this credential, you'll need a Todoist account and:
- 一个 API 密钥
获取你的 API 密钥:
🌐 To get your API Key:
- 在 Todoist 中,打开你的 集成设置。
- 选择 开发工具 选项卡。
- 复制你的 API 令牌 并将其作为 API 密钥 输入到你的 n8n 凭证中。
有关更多信息,请参阅 查找你的 API 令牌。
🌐 Refer to Find your API token for more information.
使用 OAuth2(Using OAuth2)#
Note for n8n Cloud users
Cloud users don't need to provide connection details. Select Connect my account to connect through your browser.
如果你正在自托管 n8n,你将需要一个Todoist 账户,并且:
🌐 If you're self-hosting n8n, you'll need a Todoist account and:
- 客户端 ID
- 客户端密钥
创建应用即可同时获取以上两种信息:
🌐 Get both by creating an application:
- 打开 Todoist 应用管理控制台。
- 选择 创建新应用。
- 为你的应用输入一个应用名称,例如
n8n integration。 - 选择 创建应用。
- 复制 n8n 的 OAuth 重定向 URL 并将其作为 Todoist 中的 OAuth 重定向 URL 输入。
- 从 Todoist 复制 客户端 ID 并将其输入到你的 n8n 凭证中。
- 从 Todoist 复制 客户端密钥 并将其输入到你的 n8n 凭据中。
- 根据你的用例配置 Todoist 应用的其余部分。
请参阅 Todoist 授权指南 了解更多信息。
🌐 Refer to the Todoist Authorization Guide for more information.