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".

跳到安装

来源信息

仓库
peek-travel/app-cli
最近来源活动
2026年8月20日 01:29
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。