Skip to content

Landing: retry an expired sign-in once (#395) - #158

Merged
apedintensor merged 1 commit into
mainfrom
design/signin-retry
Oct 22, 2026
Merged

apedintensor merged 1 commit into
mainfrom
design/signin-retry

Conversation

@apedintensor

Copy link
Copy Markdown
Member

Owner signed up on staging and landed on /?signin_error=state_invalid: the AuthKit page had been open longer than the 10-minute state while they finished sign-up. With the hosted session already present, one automatic retry of workos/start completes sign-in. Guarded by a sessionStorage timestamp (once per 2 minutes); otherwise the existing message shows. Verified locally: first visit retries, second within 2 minutes shows the message. npm test 867 pass.

🤖 Generated with Claude Code

…r (#395)

state_invalid after sign-up usually means the hosted page outlived its 10-minute state;
the hosted session already exists, so one quiet retry finishes sign-in. At most once per
two minutes per tab, after which the message shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apedintensor
apedintensor merged commit 847d486 into main Oct 22, 2026
2 checks passed
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