线性凭证(Linear credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
先决条件(Prerequisites)#
创建一个 Linear 账户。
🌐 Create a Linear account.
支持的身份验证方法(Supported authentication methods)#
- API 密钥
- OAuth2
相关资源(Related resources)#
有关该服务的更多信息,请参考 Linear 的 API 文档。
🌐 Refer to Linear's API documentation for more information about the service.
使用 API 密钥(Using API key)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 个人 API 密钥:在你的 设置 > 安全与访问 中创建一个专用的个人 API 密钥。更多信息请参考 Linear 个人 API 密钥文档。
使用 OAuth2(Using OAuth2)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 客户端 ID:在你创建新的 OAuth2 应用时生成。
- 客户端密钥:在你创建新的 OAuth2 应用时生成。
- 选择运算符:运算符定义了OAuth2应用应如何创建问题、评论及其他更改。选项包括:
- 用户(Linear 的默认设置):应用以授权用户的身份创建资源。如果希望每个用户都进行自己的身份验证,请使用此选项。
- 应用:应用以自身身份创建资源。如果你只有一个用户(例如管理员)授权应用,请使用此选项。
- 要在 Linear Trigger 节点中使用此凭据,你必须启用 包含管理员权限 切换开关。
有关更详细的说明和解释,请参阅Linear OAuth2 身份验证文档。在你的 Linear OAuth2 应用中,将 n8n 的 OAuth 重定向 URL 用作 重定向回调 URL。
🌐 Refer to the Linear OAuth2 Authentication documentation for more detailed instructions and explanations. Use the n8n OAuth Redirect URL as the Redirect callback URL in your Linear OAuth2 application.