docs(mistdemo): note Apple 2FA "Allow shows no code" workaround#422
Conversation
Signing into the web demo triggers Apple's macOS trusted-device two-factor prompt. Clicking Allow is supposed to display a 6-digit code for the idmsa.apple.com window, but macOS sometimes fails to show the code modal, stalling sign-in. This is Apple/macOS behavior (CloudKit JS owns the challenge; MistDemo only captures the resulting token), not a MistDemo/MistKit bug. Add a Troubleshooting subsection to the Web section of the MistDemo README documenting the symptom and the reliable "Get Verification Code" workaround via System Settings. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## v1.0.0-beta.3 #422 +/- ##
==================================================
- Coverage 73.85% 11.40% -62.45%
==================================================
Files 156 156
Lines 3698 3718 +20
==================================================
- Hits 2731 424 -2307
- Misses 967 3294 +2327
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Context
When signing into the MistDemo web demo (
mistdemo web/mistdemo auth-token), the Apple ID sign-in triggers Apple's macOS trusted-device two-factor prompt ("Apple Account Sign In Requested … used to sign in on the web"). Clicking Allow is supposed to display a 6-digit code to type into theidmsa.apple.comwindow, but macOS sometimes fails to show that code modal — so the six boxes stay empty and sign-in stalls.This is Apple/macOS behavior, not a MistDemo or MistKit bug: the sign-in page is served by
idmsa.apple.comand driven by Apple's CloudKit JS widget, which owns the entire Apple ID + two-factor challenge. MistDemo only captures the resulting web-auth token after sign-in succeeds (confirmed: the SMS-code fallback completes sign-in normally, proving token capture is fine).Change
Adds a
### Troubleshootingsubsection to the Web —mistdemo websection ofExamples/MistDemo/README.mddocumenting the symptom and the reliable workaround: generate the code manually via System Settings → [name] → Sign-In & Security → Get Verification Code instead of waiting on the notification popup.Docs-only, +26 lines, no build/test impact.
🤖 Generated with Claude Code