dblock / slack-strava

(Re)Post Strava activities to Slack
https://slava.playplay.io
MIT License
37 stars 6 forks source link

Allow subscribing a club without "connect" #60

Open dblock opened 5 years ago

dblock commented 5 years ago

If I only want to pull events from a specific club, is there a way to configure that other than "connect", /slava clubs, then "disconnect"?

Currently the answer is "no", but it works. This is because to list clubs, we need a token, so we ask you to connect. Once a club is connected though, we copy your token and you can disconnect.

When you type /slava clubs and you aren't authenticated we should send you to the OAuth workflow, but don't enable sync nor store the token as a result, just use that to list clubs and connect one later.