Strava 凭证(Strava credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
先决条件(Prerequisites)#
支持的身份验证方法(Supported authentication methods)#
- OAuth2
相关资源(Related resources)#
有关该服务的更多信息,请参阅Strava 的 API 文档。
🌐 Refer to Strava's API documentation for more information about the service.
使用 OAuth2(Using OAuth2)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- A 客户端 ID:在你创建 Strava 应用时生成。
- 一个 客户端密钥:在你创建 Strava 应用时生成。
使用以下设置配置你的 Strava 应用:
🌐 Use these settings for your Strava app:
- 在 n8n 中,复制 OAuth 回调 URL。将此 URL 粘贴到你的 Strava 应用的 授权回调域 中。
- 从 授权回调域 中移除协议(
https://或http://)和相对 URL(/oauth2/callback或/rest/oauth2-credential/callback)。例如,如果 OAuth 重定向 URL 原本是https://oauth.n8n.cloud/oauth2/callback,则 授权回调域 将是oauth.n8n.cloud。 - 从你的应用中复制 Client ID 和 Client Secret,并将它们添加到你的 n8n 凭证中。
有关 Strava 的 OAuth 流程的更多信息,请参阅 Authentication 。
🌐 Refer to Authentication for more information about Strava's OAuth flow.