Skip to main content

cng-embed-and-auth

The concrete Connect&GO (cng) embed + auth wiring — how a starter-kit app embeds inside the cng iframe and authenticates every request with the brand-agnostic peek-auth JWT. Use when adding or changing an authenticated cng API route, the token handshake, the embed entry route, or when debugging 401s / a blank iframe. Covers the shared POST → redirect → SPA → postMessage-token → Bearer-API pipeline, withAppAuthentication and the platform-claim branch that picks the cng accessor, createCngService (no gatewayKey/mode), and calling cng server-side with no user token. Triggers on "cng auth", "cng embed", "authenticate a cng request", "withAppAuthentication", "createCngService", "auth.user.platform", "401 in the cng embed", "call cng without a user token".

Jump to install

Source facts

Repository
peek-travel/app-cli
Last source activity
August 20, 2026 at 01:29
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.