Files
SubMiner/backlog/tasks/task-29.3 - Fix-AniList-OAuth-callback-token-handling-in-setup-window.md
2026-02-22 02:15:12 -08:00

1.5 KiB

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

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

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.

Definition of Done

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