Skip to content

Medium 凭证#

¥Medium credentials

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

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

Medium API no longer supported

Medium 已停止支持 Medium API。这些凭证仍然会显示在 n8n 中,但你无法使用它们配置新的集成。

¥Medium has stopped supporting the Medium API. These credentials still appear within n8n, but you can't configure new integrations using them.

先决条件#

¥Prerequisites

  • Medium 上创建账户。

¥Create an account on Medium.

¥For OAuth2, request access to credentials by emailing yourfriends@medium.com.

支持的身份验证方法#

¥Supported authentication methods

  • API 访问令牌

¥API access token

  • OAuth2

相关资源#

¥Related resources

有关服务的更多信息,请参阅 Medium API 文档

¥Refer to Medium's API documentation for more information about the service.

使用 API 访问令牌#

¥Using API access token

要配置此凭据,你需要:

¥To configure this credential, you'll need:

  • API 访问令牌:在“设置”>“安全和应用”>“集成令牌”中生成令牌。使用此方法生成的集成令牌作为你的 n8n 访问令牌。

¥An API Access Token: Generate a token in Settings > Security and apps > Integration tokens. Use the integration token this generates as your n8n Access Token.

请参阅 Medium API 自签发访问令牌文档 文档,了解更多信息。

¥Refer to the Medium API Self-issued access tokens documentation for more information.

使用 OAuth2#

¥Using OAuth2

要配置此凭据,你需要:

¥To configure this credential, you'll need:

  • 客户端 ID

¥A Client ID

  • 客户端密钥:

¥A Client Secret

要生成客户端 ID 和客户端密钥,你需要访问“开发者”菜单。接下来,创建一个新应用来生成客户端 ID 和密钥。

¥To generate a Client ID and Client Secret, you'll need access to the Developers menu. From there, create a new application to generate the Client ID and Secret.

使用以下设置配置你的新应用:

¥Use these settings for your new application:

  • 选择“OAuth 2”作为授权协议。

¥Select OAuth 2 as the Authorization Protocol

  • 从 n8n 复制 OAuth 回调 URL,并将其用作 Medium 的回调 URL。

¥Copy the OAuth Callback URL from n8n and use this as the Callback URL in Medium.