<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Auth on Text Matrix</title><link>https://txtmix.com/tags/auth/</link><description>Recent content in Auth on Text Matrix</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 21 Jul 2026 20:06:14 +0800</lastBuildDate><atom:link href="https://txtmix.com/tags/auth/index.xml" rel="self" type="application/rss+xml"/><item><title>Logto：面向 SaaS 与 AI Agent 的开源现代化认证基础设施</title><link>https://txtmix.com/posts/tech/logto-io-logto-modern-auth-infrastructure-guide/</link><pubDate>Mon, 29 Jun 2026 21:02:57 +0800</pubDate><guid>https://txtmix.com/posts/tech/logto-io-logto-modern-auth-infrastructure-guide/</guid><description>&lt;h2 id="当-auth-现代化-成为-saas-的硬约束">当 &amp;ldquo;auth 现代化&amp;rdquo; 成为 SaaS 的硬约束&lt;/h2>
&lt;p>SaaS 与 AI Agent 这两类产品对 auth 的诉求，比十年前复杂得多：&lt;/p>
&lt;ul>
&lt;li>多租户成为标配：每个 Organization 下还要分角色、配 SSO、配 Branding；&lt;/li>
&lt;li>协议不能只支持 OIDC，还得兼顾 SAML（给企业 IT 用）、OAuth 2.1（给新场景用）、MCP（给 AI Agent 用）；&lt;/li>
&lt;li>上游消耗方从&amp;quot;网页 + 移动 App&amp;quot;扩展到&amp;quot;AI Agent 替用户取数据&amp;quot;，这意味着 access token 的 owner 不一定是真人；&lt;/li>
&lt;li>开发者体验要足够&amp;quot;无脑&amp;quot;：不想让前端工程师花两周调通 PKCE（Proof Key for Code Exchange，OAuth 里防截获授权码的扩展）。&lt;/li>
&lt;/ul>
&lt;p>这正是 &lt;code>logto-io/logto&lt;/code> 想填的空白。它把自己定位为 &lt;strong>&amp;ldquo;the modern, open-source auth infrastructure for SaaS and AI apps&amp;rdquo;&lt;/strong>，口号是&amp;quot;takes the pain out of OIDC and OAuth 2.1&amp;quot;。&lt;/p></description></item></channel></rss>