Replies: 1 comment
-
Correct syntax is with double quotes stravaClientId: "StravaClientID", |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm looking at trying to get the Strava integration to work (I'm on V1Beta) and I have a question regarding the correct syntax, and another about the Authorisation Callback Domain.
The default.config.js has the following in it, and I'm not clear on whether to use single quotes or double quote. I believe a string should be in double quotes, but the way this is presented suggests single quotes. Please could someone confirm?
// The "Client ID" of your Strava API Application
stravaClientId: '',
// The "Client Secret" of your Strava API Application
stravaClientSecret: ''
I'm also trying to understand the purpose and the requirements of the Pi IP address in the Authorisation callback domain in the Strava API config. If this is as the name suggests an address that the Strava API makes a callback to, then that suggests I need my Pi to be accessible from the internet - so either a public IP or NAT on the firewall. My Pi in on my LAN and not reachable from the internet.
I have tried both singe and double quotes btw, and tried using the Pi's LAN IP and also 'localhost' in the Strava API setup. None of these seem to have resulted in any change in behaviour or the prompt to upload to Strava that Lars suggested would appear in thread #67.
Anyone managed to get this to work. I have uploaded manually to Garmin, and Strava, but it would be nice to have it automated at the end of a row.
Thanks
Ian
Beta Was this translation helpful? Give feedback.
All reactions