Skip to content

fix(android): validate auth callbacks before saving - #14888

Draft
thomaseizinger wants to merge 11 commits into
mainfrom
fix-android-auth-callback-validation
Draft

fix(android): validate auth callbacks before saving#14888
thomaseizinger wants to merge 11 commits into
mainfrom
fix-android-auth-callback-validation

Conversation

@thomaseizinger

@thomaseizinger thomaseizinger commented Aug 28, 2026

Copy link
Copy Markdown
Member

Rejects malformed or mismatched custom URI authentication callbacks before changing stored authentication state, including callbacks for incomplete legacy requests without a nonce. Successful callbacks atomically store credentials and a hashed pending-handoff marker while consuming the nonce and CSRF state. Redelivery can recover an interrupted handoff until the callback activity starts the tunnel and replaces the authentication task with the main app. Acknowledgment then clears the marker so later replays cannot reconnect. New authentication requests clear the marker, while sign-out atomically clears credentials and any outstanding request. Concurrent duplicate delivery publishes only one terminal result.

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