I’m building a “low-budget” Strava integration for our company Ride to Work program, using Google Sheets & Apps Script. Once a user is authorized, my script has no problem retrieving activity data. However, I’m stuck on the authorization.
Specifically, when a user follows my Apps Script deployment URL and clicks on the “Authorize with Strava” link, they’re prompted to log in, and then get the “We sent you a code” response. Except, no code is sent. I’ve tried multiple users, and confirmed that in a neighboring tab they can log into Strava without issue.
I can also take the https://www.strava.com/oauth/authorize?... link with the proper arguments and manually produce an oauth code after logging into Strava.
So the jist of it is, there seems to be no way to actually log in from the context of a Google Apps Script web deployment.
Any ideas?