Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrations not shared between users #222

Open
grantstephens opened this issue Mar 24, 2025 · 1 comment
Open

Integrations not shared between users #222

grantstephens opened this issue Mar 24, 2025 · 1 comment

Comments

@grantstephens
Copy link

Hello! Firstly- I love this project- thank you for creating it!

I have a couple of issues with the strava integration:

  • Each user has to create their own integration with client key and secret. Would it not be possible to share this between all users and then you just have to grant the app access to your strava account so that it can get your routes?
  • The sync happens on a cron job. Ideally this should utilize the webhooks API from strava so that you don't have to wait for a sync before a new trail is added.
@Flomp
Copy link
Owner

Flomp commented Mar 29, 2025

Hey,

glad you like it!

  • This approach works fine in your case when every user is connected to the same strava account. But what if you are hosting an instance for multiple users who want to connect different strava accounts?
  • While I agree that this would be more in the spirit of strava's API the current approach allows for a uniform way to gracefully handle all integrations (komoot and strava) in one go. If you really need your activity immediately you can always run the cornjob manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants