Files
SubMiner/backlog/tasks/task-29.3 - Fix-AniList-OAuth-callback-token-handling-in-setup-window.md

1.4 KiB

id, title, status, assignee, created_date, labels, dependencies, parent_task_id, priority
id title status assignee created_date labels dependencies parent_task_id priority
TASK-29.3 Fix AniList OAuth callback token handling in setup window Done
2026-02-19 16:56
anilist
oauth
bug
TASK-29 high

Description

AniList login flow shows unsupported_grant_type after auth because setup window does not consume callback URL token and persist it.

Need robust callback handling for both query and hash access_token forms and graceful close/success UX.

Acceptance Criteria

  • #1 AniList setup flow persists access token from callback URL query/hash
  • #2 Setup window closes and state updates to resolved when token captured
  • #3 No unsafe navigation regressions in AniList setup window

Definition of Done

  • #1 Build passes
  • #2 Targeted AniList runtime tests pass

Implementation Notes

  • Added robust AniList callback token parsing for query/hash and subminer://anilist-setup?... deep links.
  • Added app-level protocol handling (open-url + second-instance argv deep link parsing) so browser callback buttons resolve even when setup window is not navigating.
  • Added/updated targeted AniList setup runtime tests and verified build + runtime test pass.