跳到正文
原文
Google Developers Blog·· 13 天前AI 评分36

如何在自定义 UI 中处理 Gemini Enterprise 的用户、连接器与 Agent 认证

How to handle user, connector, and agent auth in Gemini Enterprise with a custom UI

AI 导读

企业自建 Customer UI 直接调用 Gemini Enterprise 的 StreamAssist API 时,原本由内置 Web 应用自动完成的用户身份、Federated Connectors 和自定义 ADK agent 三层认证需由 Customer UI 与 Customer BE 自行承担。

社媒成稿工作台 · 一键复制

飞书同步推送 · 含数据/日期/出处/启发
核心数据发布日期信源出处独立开发启发
1548
如何在自定义 UI 中处理 Gemini Enterprise 的用户、连接器与 Agent 认证

📊 核心数据与事实(2026-11-21):
企业自建 Customer UI 直接调用 Gemini Enterprise 的 StreamAssist API 时,原本由内置 Web 应用自动完成的用户身份、Federated Connectors 和自定义 ADK agent 三层认证需由 Customer UI 与 Customer BE 自行承担。
• 原文实测切片:The moment an application builds a custom UI and calls the StreamAssist API directly, the three authentication flows that the built-in web app handled automatically become the responsibility of Customer UI and Customer BE : Authenticating to…
• 原文实测切片:Part 1: Three patterns to authenticate to StreamAssist (User & Workload) Depending on whether Customer UI is acting on behalf of an individual employee or running as a shared backend bot, customer architectures follow three keyless…
• 原文实测切片:Use Pattern 1C for non-personalized bots over shared knowledge bases, and use Pattern 1A or Pattern 1B whenever you need per-user document ACLs, user-specific 3LO connectors, or restricted custom agents.

💡 对独立开发者的启发:
1/ 供给端造工具的门槛已被 AI 和开源抹平,独立开发者真正的护城河是「找准垂直业务场景 + 做好分发」。
2/ 面对新模型或开源组件先看三件事:许可证是否商用安全、API/推理边际成本降了多少、能不能直接嵌进现有变现工作流。
3/ 别去卷通用开发者轮子,把底层新能力包装成面向具体行业人群(电商、创作者、中小商家)傻瓜式交付结果的产品。

📅 日期:2026-11-21(北京时间)
📰 信息源出处:Google Developers Blog(developers.googleblog.com)
🔗 原文:https://developers.googleblog.com/how-to-handle-user-connector-and-agent-auth-in-gemini-enterprise-with-a-custom-ui/
📡 归档:https://billionare.me/items/n69wkaj6ilwudiol3awsvsxmm
去 X 发推
每天 08:00 邮件 / 08:30 飞书准点推送一手高信噪比情报与拆解免费订阅简报

来源:Google Developers Blog · developers.googleblog.com