The script used authorization code flow (response_type=code) which produces tokens expiring in ~4 hours, while the app uses implicit flow (~60 days). Switched the script to implicit flow to match, removing the client_secret requirement and token exchange step. Also fixed UnauthorizedInterceptor swallowing 401 errors without calling handler.reject(), which left Dio request Futures hanging forever. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| base_api_client.dart | ||
| bttv_api.dart | ||
| dio_client.dart | ||
| ffz_api.dart | ||
| seventv_api.dart | ||
| twitch_api.dart | ||
| twitch_auth_interceptor.dart | ||
| unauthorized_interceptor.dart | ||