feat: enable unauthenticated server startup with runtime OAuth and update CI/CD to append Docker pull instructions to release notes
CI/CD Pipeline / Lint & Check (push) Successful in 54s
CI/CD Pipeline / Build & Push Docker Image (push) Failing after 11s

This commit is contained in:
2026-05-09 05:19:16 +02:00
parent a3305b162d
commit 6dd70c29aa
4 changed files with 48 additions and 2 deletions
+3
View File
@@ -36,6 +36,9 @@ class StravaClient:
async def get_valid_token(self) -> str:
"""Returns a valid access token, refreshing it if necessary."""
if not self.refresh_token:
raise ValueError("No Strava refresh token found. Please run the 'get_new_oauth_token' MCP tool to authenticate first.")
if not self.access_token or time.time() > self.expires_at - 60:
await self._refresh_access_token()
return self.access_token