mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-27 16:17:11 +00:00
* fix(auth): mint under a full-access token from the row auth loaded, and look up token rows by uid with one index per column A token minted by a full-access token now parents to the session row that authentication already loaded and checked for the minting token, instead of reading it again by token uid. The same applies to the session a relay token is bound to. Tokens whose claims name no row of their own still look it up. findActiveByAccessTokenUid now queries access_token_uid first and the legacy uid only on a miss, each through its own index, instead of one OR across both columns. * fix(auth): send both access-token row lookups together, so a miss on the first costs no second round trip