Skip to content

Handle newer challenge flows more reliably #2420

@subzeroid

Description

@subzeroid

Summary

Instagram challenge flows keep changing, and newer branches are still a frequent source of login failures.

This issue tracks improving handling for newer challenge flows so the library either resolves them correctly or fails with a clear, actionable error instead of a low-level exception.

Problem areas

Recent user reports repeatedly mention:

  • /auth_platform/ challenge flows
  • UFAC web bloks flows like ufac_www_bloks
  • newer checkpoint variants that do not match older challenge_resolve* assumptions
  • hard failures where manual verification is required but the error path is unclear

Proposed scope

  • audit current challenge_resolve() and challenge_resolve_simple() branches
  • explicitly detect newer unsupported/manual flows
  • return clearer exceptions and messages for manual-only paths
  • avoid misleading fallback behavior when the challenge cannot be solved automatically
  • add regression tests for known challenge payload shapes

Definition of done

  • newer challenge payloads are identified more reliably
  • unsupported/manual flows fail clearly and predictably
  • known recent challenge regressions are covered by tests

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions