Commit 2a12b8f
authored
fix: skip popup flow for Chrome iOS, use direct iframe passkey creation (#2419)
Chrome iOS (CriOS) was being routed through the popup flow due to the
isSafari regex matching its user agent. However, passkey creation in
Chrome iOS popups shows a 'Sign in' dialog instead of 'Create Passkey'.
By excluding CriOS from the Safari regex, Chrome iOS now uses the direct
iframe path (which has publickey-credentials-create permission), same as
Chrome desktop.1 parent cc1a90f commit 2a12b8f
File tree
1 file changed
+4
-1
lines changed- packages/keychain/src/components/connect/create/webauthn
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
0 commit comments