Commit cf54f93
Add token migration and DNS compliance fixes
- Migrate old tokens with underscores to DNS-compliant format
- Document entropy reduction from base64url to ~base36
- Ensure tokens don't start/end with hyphens per RFC 952/1123
- Add comprehensive DNS hostname validation in tests
- Update changeset to document breaking change
Co-authored-by: whoiskatrin <whoiskatrin@users.noreply.github.com>1 parent 44631d4 commit cf54f93
File tree
3 files changed
+35
-1
lines changed- .changeset
- packages/sandbox
- src
- tests
3 files changed
+35
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
194 | 207 | | |
195 | 208 | | |
196 | 209 | | |
| |||
1656 | 1669 | | |
1657 | 1670 | | |
1658 | 1671 | | |
| 1672 | + | |
| 1673 | + | |
1659 | 1674 | | |
1660 | | - | |
| 1675 | + | |
1661 | 1676 | | |
1662 | 1677 | | |
1663 | 1678 | | |
1664 | 1679 | | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
1665 | 1693 | | |
1666 | 1694 | | |
1667 | 1695 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
880 | 884 | | |
881 | 885 | | |
882 | 886 | | |
| |||
0 commit comments