Asana 凭据(Asana credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
支持的身份验证方法(Supported authentication methods)#
- 访问令牌
- OAuth2
相关资源(Related resources)#
有关使用该服务的更多信息,请参阅 Asana 的开发者指南。
🌐 Refer to Asana's Developer Guides for more information about working with the service.
使用访问令牌(Using Access token)#
要配置此凭据,你需要一个 Asana 账户以及:
🌐 To configure this credential, you'll need an Asana account and:
- 个人 访问令牌(PAT)
获取你的 PAT:
🌐 To get your PAT:
- 打开 Asana 开发者控制台。
- 在 个人访问令牌 部分,选择 创建新令牌。
- 输入一个令牌名称,例如
n8n integration。 - 勾选此框以同意Asana API 条款。
- 选择 创建令牌。
- 复制令牌,并将其作为 访问令牌 输入到你的 n8n 凭证中。
有关更多信息,请参考Asana 快速入门指南。
🌐 Refer to the Asana Quick start guide for more information.
使用 OAuth2(Using OAuth2)#
要配置此凭证,你需要一个 Asana 账户。
🌐 To configure this credential, you'll need an Asana account.
Note for n8n Cloud users
Cloud users don't need to provide connection details. Select Connect my account to connect through your browser.
如果你在自托管 n8n,你需要注册一个应用来设置 OAuth:
🌐 If you're self-hosting n8n, you'll need to register an application to set up OAuth:
- 打开 Asana 开发者控制台。
- 在 我的应用 部分,选择 创建新应用。
- 为你的应用输入一个应用名称,例如
n8n integration。 - 选择应用的用途。
- 勾选此框以同意Asana API 条款。
- 选择 创建应用。页面会打开到应用的 基本信息。
- 从左侧菜单中选择 OAuth。
- 在 n8n 中,复制 OAuth 重定向 URL。
- 在 Asana 中,选择添加重定向 URL并输入你从 n8n 复制的 URL。
- 从 Asana 复制 客户端 ID 并将其输入到你的 n8n 凭证中。
- 从 Asana 复制 客户端密钥 并将其输入到你的 n8n 凭据中。
有关更多信息,请参阅 Asana OAuth 注册应用文档 。
🌐 Refer to the Asana OAuth register an application documentation for more information.