Strava Authentication

The Strava Application page does not allow me to enter the correct callback. Wondering how to fix the. Issue with getting the Strava credentials.

Please advice.

Hey @Santosh_Srinivas!

Did you check the documentation for creating the Strava credentials? You will have to omit the http:// or https:// and the /oauth2/callback or /rest/oauth2-credential/callback from your callback URL.

Hope this helps :slightly_smiling_face:

Hi @harshil1712 … I tried that but when I click the outh connect button, its gives the following error:

{
  "message": "Bad Request",
  "errors": [
    {
      "resource": "Application",
      "field": "redirect_uri",
      "code": "invalid"
    }
  ]
}

If I skip the connect and do a get all request, it throws the following error:

ERROR: OAuth credentials not connected!
Error: OAuth credentials not connected!
    at Object.requestOAuth2 

I followed the docs and configured the credentials. It works for me. I am not sure why it is giving you an error. Can you try creating the credentials once again?

1 Like

If you are running n8n locally you need to run it with a tunnel so the callback call can reach the n8n running locally.

Strangely, it is not allowing me to delete the app or refresh the credentials.
I am on this https://www.strava.com/settings/api and it allow me to create only one application?
Is that correct?

Its working now! Not sure what I changed!

It might be something with copy-pasting the credentials. Anyways, I am glad it worked out! :slightly_smiling_face: