Skip to content

fix(web): wait for focused Passkey unlock - #9

Open
eminogrande wants to merge 1 commit into
mainfrom
fix/nuri-chat-focused-unlock
Open

fix(web): wait for focused Passkey unlock#9
eminogrande wants to merge 1 commit into
mainfrom
fix/nuri-chat-focused-unlock

Conversation

@eminogrande

Copy link
Copy Markdown

Summary

  • stop automatically polling Connect and invoking WebAuthn during the return-page effect
  • present an explicit Use Passkey & Open Chat action after an exact tab-bound Connect return
  • preserve the existing manual resume action for pending sessions opened without the return nonce

Why

Safari/WebKit can reject the second PRF assertion with not focused when it starts automatically immediately after returning from Connect. The explicit click provides a focused user activation before WebAuthn.

Verification

  • pnpm --dir web check
  • pnpm --dir web typecheck
  • pnpm --dir web test:unit — 9 passed
  • pnpm --dir web build
  • pnpm --dir web test:e2e:smoke — 7 passed

Part of #3. This PR does not include multi-Space work or domain/relay migration.

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