Skip to content

[#574] Return errors from AppAuth:ResumeExternalUserAgentFlowWithURL#955

Open
w-goog wants to merge 21 commits intomasterfrom
feature/add-resume-external-flow-errors
Open

[#574] Return errors from AppAuth:ResumeExternalUserAgentFlowWithURL#955
w-goog wants to merge 21 commits intomasterfrom
feature/add-resume-external-flow-errors

Conversation

@w-goog
Copy link
Copy Markdown
Collaborator

@w-goog w-goog commented Apr 28, 2026

Asserts are Bad Bad Not Good(TM). This PR deprecates the extant method and points developers to a new edition which returns errors rather than crashing with asserts.

Two cases are handled:

  1. When shouldHandleURL is false, the function returns NO and sets an error.
  2. When _pendingEndSessionCallback is nil, the function now returns an error.

w-goog added 21 commits April 28, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant