Commit 384eb3d
authored
improve(internet-identity): add derivationOrigin anti-pattern pitfall (#146)
Add mistake `#7`: icp0.io and ic0.app produce the same principal (II
auto-rewrites). Adding derivationOrigin or ii-alternative-origins for
this breaks auth. Different principal = different passkey/device.
Add eval for the domain equivalence diagnostic scenario.
Addresses #136 (F3).1 parent 76ca0e3 commit 384eb3d
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments