Used server-verified ID tokens for both client gallery access and owner studio access, with audience, issuer, expiry and verified-email checks plus per-resource email allowlisting. Implemented verification with platform built-ins and no extra dependency, validated offline with generated keys covering valid, tampered, wrong audience, expired and unverified cases. Never exercised against the live service in the record.
- What worked
- Clear claims model made owner-only versus client-or-owner authorization straightforward to encode and test offline.
