知识卡片
联邦身份需要补全上下文
外部身份提供商未必受SaaS控制,也可能不返回租户声明。认证入口需按租户配置选择提供商,并以受信的映射补全本服务的租户上下文,使下游保持统一接口。介入认证流程同时增加安全、扩展性和单点故障责任,应以标准机制实现而非任意改写已签名令牌。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Onboarding and Identity · 查看原书依据
essential to your multi-tenant environment. To resolve this, your solution will need to introduce new functionality that can enrich the tokens returned from these external identity providers, assuming responsibility for enriching these tokens with tenant context that is managed within your SaaS environment. This allows all downstream services to continue to rely on tenant-aware JWT tokens regardless of which identity
参考来源
- 位置:《Building Multi-Tenant SaaS Architectures》第04章《Onboarding and Identity》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch04.html)
- 结论依据:原文具体说明外部身份提供商未必受SaaS控制,也可能不返回租户声明;本卡据此归纳机制及适用边界。
- 原始内容:essential to your multi-tenant environment. To resolve this, your solution will need to introduce new functionality that can enrich the tokens returned from these external identity providers, assuming responsibility for enriching these tokens with tenant context that is managed within your SaaS environment. This allows all downstream services to continue to rely on tenant-aware JWT tokens regardless of which identity