I'm writing software that controls my treadmill. The idea is that I can run any run in the world, and the treadmill responds to the gpx data coming in and is doing all climbs as if it were the real world.
At the end of a run, I want to upload my activity to Strava. And that is the point in which I get stuck….
Using the client id, client secret I'm able to get a bearer token. This token has read permissions. In order to write to an activity I need write permissions. I cant figure out how I can exchange the bearer token for an authorization token that authorizes me to write data to the activity.
Can anyone help me?