Skip to content

线性凭证#

¥Linear credentials

你可以使用以下凭据验证以下节点:

¥You can use these credentials to authenticate the following nodes:

¥Linear Trigger

先决条件#

¥Prerequisites

创建 Linear 账户。

¥Create a Linear account.

支持的身份验证方法#

¥Supported authentication methods

  • API 密钥

¥API key

  • 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:

¥A personal API Key: Create a dedicated personal API key in your Settings > Security & access. Refer to the Linear Personal API keys documentation for more information.

使用 OAuth2#

¥Using OAuth2

要配置此凭据,你需要:

¥To configure this credential, you'll need:

  • 客户端 ID:创建新的 OAuth2 应用时生成。

¥A Client ID: Generated when you create a new OAuth2 application.

  • 客户端密钥:创建新的 OAuth2 应用时生成。

¥A Client Secret: Generated when you create a new OAuth2 application.

  • 选择“参与者”:参与者定义了 OAuth2 应用应如何创建问题、评论和其他更改。选项包括:

¥Select the Actor: The actor defines how the OAuth2 application should create issues, comments and other changes. Options include:

  • 用户(Linear 默认):应用以授权用户身份创建资源。如果希望每个用户自行进行身份验证,请使用此选项。

    ¥User (Linear's default): The application creates resources as the authorizing user. Use this option if you want each user to do their own authentication.

  • 应用应用以自身身份创建资源。如果只有一个用户(例如管理员)授权应用,请使用此选项。

    ¥Application: The application creates resources as itself. Use this option if you have only one user (like an admin) authorizing the application.

  • 要将此凭据与 Linear 触发器 节点一起使用,你必须启用“包含管理员范围”开关。

¥To use this credential with the Linear Trigger node, you must enable the Include Admin Scope toggle.

请参阅 Linear OAuth2 身份验证文档,了解更多详细说明和解释。将 n8n OAuth 重定向 URL 用作你的 Linear OAuth2 应用中的重定向回调 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.