Strava 凭证#
¥Strava credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
- 创建 Strava 账户。
¥Create a Strava account.
¥Create a Strava application in Settings > API. Refer to Using OAuth2 for more information.
支持的身份验证方法#
¥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:
- 客户端 ID:当你 创建 Strava 应用 时生成。
¥A Client ID: Generated when you create a Strava app.
- 客户端密钥:当你 创建 Strava 应用 时生成。
¥A Client Secret: Generated when you create a Strava app.
使用以下设置配置你的 Strava 应用:
¥Use these settings for your Strava app:
- 在 n8n 中,复制 OAuth 回调 URL。将此 URL 粘贴到 Strava 应用的“授权回调域”中。
¥In n8n, copy the OAuth Callback URL. Paste this URL into your Strava app's Authorization Callback Domain.
- 从授权回调域中移除协议(
https://或http://)和相对 URL(/oauth2/callback或/rest/oauth2-credential/callback)。例如,如果 OAuth 重定向 URL 最初为https://oauth.n8n.cloud/oauth2/callback,则授权回调域将为oauth.n8n.cloud。
¥Remove the protocol (https:// or http://) and the relative URL (/oauth2/callback or /rest/oauth2-credential/callback) from the Authorization Callback Domain. For example, if the OAuth Redirect URL was originally https://oauth.n8n.cloud/oauth2/callback, the Authorization Callback Domain would be oauth.n8n.cloud.
- 从你的应用中复制客户端 ID 和客户端密钥,并将其添加到你的 n8n 凭据中。
¥Copy the Client ID and Client Secret from your app and add them to your n8n credential.
请参阅 验证 获取有关 Strava OAuth 流程的更多信息。
¥Refer to Authentication for more information about Strava's OAuth flow.