cal.pub0.org/packages/app-store/_utils/auth.ts