Skip to main content

Using strava_client 2.1.3 for authorization to obtain token, the code is as follows:

ExampleAuthentication(stravaClient).testAuthentication(
[
AuthenticationScope.read_all
],
"stravaflutter://myfitnessapp.com",
).then((token) {
setState(() {
isLoggedIn = true;
this.token = token;
});
_textEditingController.text = token.accessToken;
}).catchError(showErrorMessage);

Strava backend configuration:

  • Website: stravaflutter://myfitnessapp.com
  • Authorization callback domain: myfitnessapp.com

Our app can open the Strava app's authorization page, but clicking "Authorize" shows an error. Our own app doesn't display any error messages.

Backend configuration:

  • Allowed connected athletes: 999
  • Current number of connected athletes: 1
  •  

Be the first to reply!