Skip to main content

Hi!

In my web application there's a log out button. The problem is that it only logs the user out of my application, not Strava, thus the user can simply log back in again and after a quick round trip to the Strava log in page (where the user is still authenticated).

Is there an API endpoint to call or a URL we can send the user to to log out of Strava? The Strava website sends a POST request to https://wwww.strava.com/session when logging out, but that requires a `authenticity_token` and is probably not something for 3rd party apps to use.

Might not exist a solution to this, but I wanted to ask anyway. My log out button doesn't make much sense as it is now.

Strava doesn’t have an API to log users out directly. Unfortunately, when users log out of your app, they stay authenticated on Strava and can log back in quickly. You can suggest they log out of Strava manually for full logout. Not perfect, but it helps.


Sure, yeah, I guess I'll have to settle for that then...


Reply