fow5040 / Flow.Launcher.Plugin.SpotifyPremium

Spotify Premium plug-in for Flow Launcher
MIT License
31 stars 2 forks source link

Auto get access token if refresh token available #5

Closed taooceros closed 2 years ago

taooceros commented 2 years ago

I don't think it's necessary to let user to select to reauthorize if refresh token is available. If refresh token is available (even though invalid), it means user has already done at least one authorization, so auto authorization should be fine.

I reverse back the SetClient await in Action because if that takes too long, flow will be completely irresponsible. Until we have async Action, we should just let it run without caring its return value.