Skip to content

Make Amethyst sign-in recover from incomplete callbacks - #257

Open
arclabs561 wants to merge 2 commits into
teal-fm:obbprfrom
arclabs561:fix/obbpr-oauth-callback-readiness
Open

arclabs561 wants to merge 2 commits into
teal-fm:obbprfrom
arclabs561:fix/obbpr-oauth-callback-readiness

Conversation

@arclabs561

@arclabs561 arclabs561 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Wait for the saved sign-in attempt and a complete provider response before exchanging the callback. Use each provider state once and apply the result only to the attempt that started it. If saved sign-in data can't be read, offer a retry.

A local route replay covered a failed read, corrupt saved data, and successful loading. Auth tests cover repeated responses, older attempts, and logout during an exchange.

Replaces #252 for the rewrite.

This branch has not been deployed

No deployments
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