Skip to main content

peek-embed-and-auth

The concrete Peek Pro embed + auth wiring — how a starter-kit app embeds inside the Peek Pro iframe and authenticates every request with a peek-auth JWT. Use when adding or changing an authenticated API route, a client-side data fetch, the token handshake, the install/embed entry route, CSP/iframe headers, or when debugging 401s, a blank iframe, or "token"/postMessage problems. Covers the POST → redirect → SPA → postMessage-token → Bearer-API pipeline, the exact PeekAuthTokenClaims shape, createPeekService vs createPeekServiceForInstall for server-to-Peek without a user token, and the file map that owns each piece. Triggers on "add an API route", "authenticate a request", "peek-auth token", "iframe won't load", "401 in the embed", "postMessage token", "call Peek without a user token", "createPeekServiceForInstall", "cron/background Peek", "withAppAuthentication", "withPeekAuthentication".

الانتقال إلى التثبيت

معلومات المصدر

المستودع
peek-travel/app-cli
آخر نشاط في المصدر
٢٠ أغسطس ٢٠٢٦ في ٠١:٢٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٠
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.