coach icon indicating copy to clipboard operation
coach copied to clipboard

Add Intervals.icu API key support

Open davidtinker opened this issue 7 months ago • 2 comments

This would make it much easier for people wanting to run their own instance. I am getting quite a few oauth requests for private Coach Watts instances :)

In .env file: INTERVALS_API_KEY=...

davidtinker avatar May 04 '26 06:05 davidtinker

I'll going to implement it in the following days! Thank you letting me known!

hdkiller avatar May 06 '26 16:05 hdkiller

Update: Coach Watts already supports connecting Intervals.icu without registering an OAuth application.

From Settings → Apps, choose Connect manually (API Key), then enter the Athlete ID and API key from https://intervals.icu/settings. Coach Watts validates and stores those credentials for the user, so this is the current workaround for private/self-hosted instances.

The exact environment-variable behavior proposed here (INTERVALS_API_KEY=...) has not been implemented. The regular onboarding button also still starts the OAuth flow, and the documentation does not currently make the manual option prominent enough. We should keep this issue open until we decide whether environment-based automatic setup is still needed, or whether improving the self-hosting documentation and routing users to the existing manual connection flow fully addresses the use case.

hdkiller avatar Sep 01 '26 12:09 hdkiller