Skip to content

Medium 凭证(Medium credentials)#

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

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

不再支持 Medium API

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

先决条件(Prerequisites)#

支持的身份验证方法(Supported authentication methods)#

  • API 访问令牌
  • OAuth2

有关该服务的更多信息,请参考 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 访问令牌

有关更多信息,请参阅 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
  • 客户端密钥

要生成 客户端 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 作为 授权协议
  • 从 n8n 复制 OAuth 回调 URL 并将其作为 Medium 中的 回调 URL 使用。