diff options
| author | Adam Soltys <[email protected]> | 2026-12-02 10:37:33 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-12-02 10:37:33 -0700 |
| commit | 957599974b453b9b13653b821658fd0a76d01809 (patch) | |
| tree | 3c43e9a272bbc406afda3bf0f434ffa6c9d02250 /vmedia | |
| parent | 24738a235e87e7e17ee8a721609e0cbb6613218e (diff) | |
| download | coinosv3-server-957599974b453b9b13653b821658fd0a76d01809.tar.gz coinosv3-server-957599974b453b9b13653b821658fd0a76d01809.zip | |
names: /migrate-grant only hands over a name whose coinos.io account has migrated.
"check with the coinos-server agent on desk about the migrate hole. We should fix the issue and get it reenabled" (Adam, 2026-12-02). The bearer token proves the caller is coinos.io, not that the name's own account asked for the grant. The grant now also asks coinos.io for the account and goes ahead only when it exists and is flagged migrated; the old account's session flags itself just before it calls the grant, so a legitimate migration passes. It refuses with 404 when there's no such account, 409 when it hasn't migrated, and 502 when coinos.io can't be asked (the caller retries). New migrate-check.test.js passes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
Diffstat (limited to 'vmedia')
0 files changed, 0 insertions, 0 deletions
