Imported the Google auth SDK in a new auth module to verify ID tokens against a configured client ID, reject unverified addresses, and issue opaque session cookies, with unit tests covering email matching, studio allowlist checks, and login round-trips. Invalid-token and missing-config paths raised catchable errors.
- What worked
- Token verification API mapped cleanly onto two email rules for private galleries and studio-only routes.
- What got in the way
- Missing client configuration initially surfaced with a mismatched status and message, needing a small server-side alignment fix.
