<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <generator uri="https://github.com/miniflux/picoFeed">PicoFeed</generator>
  <title>Articles by Aaron Parecki</title>
  <id>https://aaronparecki.com/feed.xml</id>
  <updated>2026-12-05T19:06:25+00:00</updated>
  <link rel="alternate" type="text/html" href="https://aaronparecki.com/"/>
  <link rel="self" type="application/atom+xml" href="https://aaronparecki.com/feed.xml"/>
  <author>
    <name>Aaron Parecki</name>
    <uri>https://aaronparecki.com/</uri>
  </author>
  <entry>
    <id>https://aaronparecki.com/2026/10/30/19/oauth-id-jag-draft-06</id>
    <title>Identity Assertion JWT Authorization Grant Draft 06</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2026/10/30/19/oauth-id-jag-draft-06"/>
    <updated>2026-10-30T17:55:21-07:00</updated>
    <published>2026-10-30T17:55:21-07:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>We've just published draft -06 of the Identity Assertion JWT Authorization Grant (ID-JAG):</summary>
    <content type="html"><![CDATA[<p>We've just published draft -06 of the Identity Assertion JWT Authorization Grant (ID-JAG):</p>

<p><a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-identity-assertion-authz-grant/">https://datatracker.ietf.org/doc/draft-ietf-oauth-identity-assertion-authz-grant/</a></p>

<p>It's been great to see so many new implementations of ID-JAG over the past few months, across identity providers, authorization servers, clients and libraries. -05 and -06 are mostly about bringing what we've learned from these implementations back into the spec. The diff looks big, but most of it tightens the wording so independent implementations interoperate better. The flow and the overall design haven't changed.</p>

<p>Most of the changes are clarifications, such as:</p>

<ul>
<li>How resource and audience values are compared and validated</li>
<li>Which sub value the IdP selects for the Resource Authorization Server, and how subject identifiers are mapped</li>
<li>Whose claims the ID-JAG carries (End-User, client, etc)</li>
<li>How the Resource Authorization Server finds and validates the ID-JAG signing keys</li>
<li>SAML <code>NameID</code> handling</li>
<li>Using a Refresh Token as the subject token</li>
<li>Error codes for common failure cases, and when a Client should request a new ID-JAG</li>
<li>Fixes to examples and references</li>
</ul>

<p>A few changes are new, or make explicit what implementations were already doing:</p>

<ul>
<li>The IdP authenticates the Client at the Token Exchange step, and the request carries a single audience value</li>
<li>When a subject token fails validation, the IdP now returns <code>invalid_request</code> instead of <code>invalid_grant</code>, as RFC 8693 requires. If you've implemented the Token Exchange step, please check your error handling.</li>
<li>At the Resource Authorization Server, a key-bound ID-JAG can be used in place of client authentication</li>
<li>mTLS is defined as another option besides DPoP for binding the ID-JAG</li>
<li>New <code>id_jag_signing_alg_values_supported</code> IdP metadata</li>
<li>A new Privacy Considerations section</li>
</ul>

<p>The full list is in the Document History section.</p>

<p><a href="https://author-tools.ietf.org/iddiff?url1=draft-ietf-oauth-identity-assertion-authz-grant-04&amp;url2=draft-ietf-oauth-identity-assertion-authz-grant-06">Diff from -04</a></p>

<p>Thanks to everyone who has been implementing this and sending feedback, and especially to <a href="https://notes.karlmcguinness.com/">Karl</a> for working through so many of the issues. I'm hoping to get time at IETF 127 to go over the remaining open issues. In the meantime, comments are welcome on the list or at <a href="https://github.com/oauth-wg/oauth-identity-assertion-authz-grant">https://github.com/oauth-wg/oauth-identity-assertion-authz-grant</a></p>
]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2026/10/17/5/rebuilding-my-indieweb-projects</id>
    <title>Why I'm rebuilding my IndieWeb projects with Claude</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2026/10/17/5/rebuilding-my-indieweb-projects"/>
    <updated>2026-10-17T07:46:17-07:00</updated>
    <published>2026-10-17T07:46:17-07:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>I recently came across Brennan's post noticing that Claude Code has been showing up in the commit history of a bunch of my IndieWeb projects lately. That's true! I was wondering when someone would notice. I haven't been hiding it, but I also haven't written anything about why I'm doing it, so this seemed like a good time to finally get my thoughts down.</summary>
    <content type="html"><![CDATA[<p>I recently came across <a href="https://brennan.day/the-indieweb-now-has-genai-and-claude-built-in-what-do-we-do/">Brennan's post</a> noticing that Claude Code has been showing up in the commit history of a bunch of my IndieWeb projects lately. That's true! I was wondering when someone would notice. I haven't been hiding it, but I also haven't written anything about why I'm doing it, so this seemed like a good time to finally get my thoughts down.</p>

<p><img src="https://aaronparecki.com/2026/09/29/10/photo.jpg"></p>

<h2>The principles are about what you own</h2>

<p>Brennan's post summarizes the IndieWeb as:</p>

<blockquote>
  <p>the main idea being to empower individuals to own their own identity, data, and web presence rather than relying on centralized social media silos</p>
</blockquote>

<p>That's a pretty good summary. But notice that no part of it talks about what tools you use, or what you use to build your tools. That was a very intentional part of the <a href="https://indieweb.org/principles">IndieWeb principles</a>, which start with "Own your domain and your data." The principles are about owning your data and being able to choose where your data is hosted, not about how the code behind it was created. It's not even about everyone hosting their website from a server in their closet, although if you want to do that you definitely should!</p>

<h2>These projects were old</h2>

<p>I launched some of these tools literally 15 years ago. The two big ones for me are webmention.io and IndieAuth.com. Both are old Ruby codebases that use long-abandoned ORMs and ancient versions of Ruby.</p>

<p>Rewriting these had to happen at some point regardless. Frankly they are a security nightmare waiting to happen. If I hadn't done the rewrites now, the realistic alternative would have been to just shut down the services.</p>

<p>And IndieAuth.com has a particularly awkward history. Around 2016-2017 I realized it was too confusing to have a service called IndieAuth.com that actually did two separate things. It was an authorization server that let you sign in to IndieAuth apps with your domain (via an account like GitHub), and it was also a way for developers to add "sign in with your domain" to their own web apps. So I officially decided to split those into separate products. That's where <a href="https://indielogin.com">indielogin.com</a> came from, which launched in 2018. IndieLogin gives app developers a way to add "web sign-in" to their apps without having to implement RelMeAuth or the IndieAuth spec themselves. But I never got around to splitting out the other half, the authorization server that your website links to as its IndieAuth server, and issues tokens for Micropub apps.</p>

<p>Finally thanks to developing a style of working with Claude Code that I'm comfortable with, I was able to launch <a href="https://indiekey.id">IndieKey</a>. This is the replacement for the other half of indieauth.com. It has a bunch of features I'm excited about, too much for this blog post, but finally I am comfortable migrating people over from indieauth.com to this. Keep an eye out in the coming months for an automatic migration, which Claude has been very helpful in planning.</p>

<h2>Modularity, demonstrated</h2>

<p>One of my favorite principles is <a href="https://indieweb.org/modularity">modularity</a>:</p>

<blockquote>
  <p>The more your code is modular and composed of pieces you can swap out, the less dependent you are on a particular device, UI, templating language, API, backend language, storage model, database, platform.</p>
</blockquote>

<p>The webmention.io rewrite is a pretty good demonstration of this. I was able to move webmention.io from the Ruby code to PHP without anybody who uses it needing to change anything on their end. That's the whole point of building things on open protocols. The implementation behind the endpoint can change completely and the rest of the web doesn't have to care.</p>

<h2>Single point of Aaron</h2>

<p>Brennan links to the wiki page <a href="https://indieweb.org/single_point_of_Aaron">single point of Aaron</a>, which, yes, I know. It's been a running joke (and a real concern) for a long time.</p>

<p>I run these services for the community because I want to show what's possible. I never wanted them to be seen as the only option. I've wanted people to build alternatives to webmention.io and IndieAuth.com for years, and I'm always glad to see a blog platform build in Webmention support natively instead of relying on my service.</p>

<p>So if you don't like that I used Claude to help build the replacement, that's fine! You can treat it as though I shut down the service and go find an alternative, because that is what would have happened anyway. I fully admit I knew some people would be unhappy with my choice of tools. But honestly, that's great, because it might encourage someone to build alternatives to these services, which is a win for the community overall. In fact at least one has already shown up as an alternative to webmention.io: <a href="https://codeberg.org/eltrac/weepinbell">weepinbell</a> as a direct response to my rewrite.</p>

<p>That's <a href="https://indieweb.org/pluralism">pluralism</a> working the way it's supposed to. Hopefully this pushes more people to build their own tools and services, especially if they're opposed to the way I work.</p>

<h2>Understanding matters more than the tools</h2>

<p>Linus Torvalds had <a href="https://lore.kernel.org/lkml/CAHk-=whTs09_ozN+e09GU68N1wPP56MUzDjrg9rnKxQUa0A_4Q@mail.gmail.com/">a good comment</a> on the Linux kernel mailing list about people using these tools in kernel development:</p>

<blockquote>
  <p>The kind of expectations <em>I</em> have is that people do their best and I expect people to understand what they are doing.</p>
  
  <p>But that understanding has very little to do with what tools they use.</p>
  
  <p>And quite honestly, in my experience, the people I respect and call intelligent are not the ones that shy away from using new and interesting tools.</p>
</blockquote>

<p>That matches how I think about it. I wrote many of the specs these services implement, and I still read and understand what gets shipped. Claude is doing the typing, not deciding how Webmention works.</p>

<h2>Have fun</h2>

<p>The last (but not least) IndieWeb principle is <a href="https://indieweb.org/fun">have fun</a>.</p>

<p>The code was never the interesting part for me. I like thinking about things from the protocol and product perspective. Maintaining a large codebase is not fun for me. But I do like building things and making useful tools. I like figuring out how building blocks can compose into a larger useful product.</p>

<p>And now it's a lot more fun, because I get to focus on the product and design of these tools instead of getting stuck in the weeds of the code. I've shipped more improvements to these projects in the last couple of months than I had in the previous few years.</p>

<ul>
<li><a href="https://indiekey.id">IndieKey</a> - An IndieAuth server you can use for your website, built from scratch in the last month.</li>
<li><a href="https://webmention.io">Webmention.io</a> - Receive webmentions for your website, forward them to webhooks, or fetch from the API. A complete rewrite of the old Ruby app that is now much more maintainable.</li>
<li><a href="https://meetable.org">Meetable</a> - The events platform that runs <a href="https://events.indieweb.org">events.indieweb.org</a>, which I started developing in 2019. Recently I was able to ship a bunch of features on the todo list backlog: <a href="https://aaronparecki.com/2026/10/14/6/meetable-proposed-events">Proposed events</a>, <a href="https://aaronparecki.com/2025/11/25/5/meetable-release-notes-november-2025">recurring events</a>, <a href="https://github.com/aaronpk/Meetable/pull/212">code of conduct confirmation</a>, a <a href="https://events.indieweb.org/2026">calendar heatmap</a>, and many more!</li>
<li><a href="https://indieauth.rocks/">IndieAuth.rocks</a> - An IndieAuth spec validator. This has been on my todo list for literal years!</li>
<li><a href="https://quill.p3k.app/">Quill</a> - A Micropub client for posting notes, photos, articles and more, rewritten from scratch with a significantly improved UI!</li>
<li><a href="https://news.indieweb.org/">IndieNews</a> - I added an admin UI to manage block lists to deal with the influx of poorly written LLM posts that were being submitted.</li>
<li><a href="https://micropub.rocks/">micropub.rocks</a> and <a href="https://websub.rocks/">websub.rocks</a> - Turns out the email login forms were being abused to send spam, so I replaced it with passkey login.</li>
</ul>

<h2>Disclosure</h2>

<p>While I don't work at Anthropic, I have worked with some folks there on launching <a href="https://aaronparecki.com/2025/11/25/1/mcp-authorization-spec-update">Enterprise-Managed Auth</a> in Claude.ai.</p>

<p>And yes I used Claude to help me draft this blog post, with a healthy amount of hand editing afterwards.</p>

<h2>Anyway</h2>

<p>The one nit I will pick with Brennan's post is the title: "The IndieWeb Now Has genAI and Claude Built-in". Yes, many of the IndieWeb services I run have now had contributions from Claude. But the IndieWeb is not the services I run. The IndieWeb is a community of people, and a wide variety of tools and services based on a shared set of principles.</p>

<p>I don't expect this to change everyone's mind, and that's okay. People can reasonably draw their lines in different places. <a href="https://indieweb.org/pluralism">Pluralism</a> means we can use different tools built different ways, but still interoperate. If you've got thoughts, write a post on your own site and send me a Webmention. It'll get to me, through the brand new PHP version of <a href="https//webmention.io">webmention.io</a>.</p>
]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2026/10/14/6/meetable-proposed-events</id>
    <title>Proposed Events for Meetable</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2026/10/14/6/meetable-proposed-events"/>
    <updated>2026-10-14T10:06:31-07:00</updated>
    <published>2026-10-14T10:06:31-07:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>Meetable can now replace your Doodle polls! Meetable, my open source event listing website, now lets you propose an event with several possible dates/times. People vote on which one works for them, and the organizer can choose the best date from the votes later.</summary>
    <content type="html"><![CDATA[<p>Meetable can now replace your Doodle polls! Meetable, my open source event listing website, now lets you propose an event with several possible dates/times. People vote on which one works for them, and the organizer can choose the best date from the votes later.</p>
<p><img src="https://aaronparecki.com/2026/10/14/6/image-1.png" alt=""></p>
<p>Up until now, every event in Meetable needed a date before it could be created. That works fine when the date is already known, but a lot of events start out as "we should do this, when can everyone make it?" That part of the planning had to happen somewhere else, in a poll or a chat thread, and then someone would create the event on the calendar once the date was decided. In the meantime, nobody browsing the calendar would know the event was being planned at all.</p>
<p>I was a little unsure of how best to add this since almost everything in Meetable is built around the event date. The home page sorts by it, the ics feeds need it, and even the permalink of the event is made from it. I also didn't want the calendar to end up full of events that are "maybe" happening, mixed in with events that are actually scheduled. So the goal was to support this without the proposals getting in the way of the regular calendar.</p>
<p>Here's how it works:</p>
<ul>
<li>Proposed events are off by default, and can be turned on in the site settings.</li>
<li>Anyone who can create events can also propose one. There is a new "Propose an Event" option in the "Add Event" menu.</li>
<li>It's the same form as creating a regular event, except instead of a date, you enter at least two possible dates. Times are optional, and you can give a date an end date to propose a multi-day event.</li>
<li>Proposed events don't appear in the main event list, ics feeds, Discord notifications or search. Instead they're listed on a new "Proposed Events" page in the navigation, and there is a banner on the home page when any events are looking for a date.</li>
<li>Anyone who is logged in can vote "Yes", "If need be" or "No" on each date. Votes are saved as soon as you click, and the profile photos of everyone who voted are shown with each answer so you can see who can make which date.</li>
<li>The date with the most "yes" votes is marked as "Leading". (Ties are broken by the most "if need be" votes, then the fewest "no" votes.)</li>
<li>When it's time to decide, anyone who can edit the event clicks "Schedule this date" next to one of the options. The event gets that date, shows up on the calendar at its normal permalink, and voting closes.</li>
<li>The old proposed event URL redirects to the new permalink so that any links shared during the vote keep working.</li>
<li>The poll is kept on the event page after the date is chosen, collapsed under a note like "The date was chosen from 4 proposed dates", so you can see how the decision was made.</li>
<li>If you ask for a Zoom meeting when proposing the event, the meeting is scheduled once the date is chosen, since there is no time to schedule it for until then.</li>
<li>If you edit the proposed dates later, votes are kept for the dates that didn't change. Removing or changing a date removes its votes, since those votes were for a different date.</li>
</ul>
<p>There is currently no deadline for voting and no reminder sent to the organizer, so a proposed event will sit there until someone chooses a date or deletes it. I'd like to see how this gets used before adding anything more to it, so if a voting deadline or something like that would be useful for your community, let me know.</p>
<p>Hopefully this makes it easier to get events on the calendar earlier in the planning process! You can install your own copy of Meetable from the source code on GitHub.</p>]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2026/07/29/19/cimd-over-dcr</id>
    <title>From Self-Asserted to Domain-Backed: Why CIMD Beats DCR</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2026/07/29/19/cimd-over-dcr"/>
    <updated>2026-07-29T13:15:22+01:00</updated>
    <published>2026-07-29T13:15:22+01:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>OAuth originally assumed clients would be pre-registered at an authorization server.</summary>
    <content type="html"><![CDATA[<p>OAuth originally assumed clients would be pre-registered at an authorization server.</p>

<p>Before an app can talk to an OAuth server, a developer signs up for an account, registers the client by providing the name and logo and other client information, configures redirect URIs, and gets a <code>client_id</code>. The server has some record of who this client is and who is responsible for it.</p>

<p>That works fine when the ecosystem is closed. Google can require developers to register before accessing their API. Salesforce can do the same. But what about ecosystems where any client should be able to talk to any server, where it's not possible for the client developer to be aware of every server ahead of time?</p>

<p>This is the "open web" problem. Mastodon users expect any Mastodon client to work with any Mastodon server. BlueSky works the same way. The MCP ecosystem is heading in the same direction, users expect to be able to connect their own MCP client to any MCP server. When you have potentially thousands of clients and thousands of servers, you can't require every client developer to register with every server operator in advance.</p>

<p>Dynamic Client Registration (DCR) was designed to solve this. A client shows up at a server, registers itself on the spot, and gets credentials. No prior relationship required.</p>

<p>The problem is DCR pushes all the trust decisions onto the authorization server, with nothing to actually base those decisions on, and no real link to the client developer.</p>

<ul>
<li><a href="#how-dcr-works">How Dynamic Client Registration Works</a></li>
<li><a href="#problems-with-dcr">The Problems with DCR</a>

<ul>
<li><a href="#anyone-can-register">Anyone Can Register Anything</a></li>
<li><a href="#client-lifecycle">The Client Lifecycle Problem</a></li>
<li><a href="#client-impersonation">Client Impersonation Is Undetectable</a></li>
<li><a href="#credential-sprawl">Credential Sprawl for Clients</a></li>
</ul></li>
<li><a href="#the-problem">The Root of the Problem</a></li>
<li><a href="#how-cimd-works">How Client ID Metadata Document Works</a></li>
<li><a href="#cimd-possible">What CIMD Makes Possible</a>

<ul>
<li><a href="#domain-ownership">Domain Ownership as a Trust Signal</a></li>
<li><a href="#enterprise-preregistration">Enterprise Pre-Registration Without Client Changes</a></li>
<li><a href="#client-keys">Clients Control Their Own Keys</a></li>
<li><a href="#mobile-apps">Mobile Apps and Attestation</a></li>
</ul></li>
<li><a href="#cimd-not-solved">What CIMD Does Not Solve</a>

<ul>
<li><a href="#desktop-apps">Desktop Apps</a></li>
</ul></li>
<li><a href="#conclusion">Where This Leaves Us</a></li>
</ul>

<h2 id="how-dcr-works">How Dynamic Client Registration Works</h2>

<p>DCR is defined in <a href="https://oauth.net/2/dynamic-client-registration/">RFC 7591</a>. The client sends a POST request to the server's registration endpoint with its metadata: a display name, logo URL, redirect URIs, contact information. The server responds with a <code>client_id</code> and optionally a <code>client_secret</code>. From that point on, the client uses those credentials in OAuth flows with that server.</p>

<pre><code class="mermaid">sequenceDiagram
    participant C as Client
    participant AS as Authorization Server

    C-&gt;&gt;AS: POST /register&lt;br/&gt;(name, logo, redirect_uris, ...)
    Note over C,AS: Unauthenticated — no credentials required
    AS-&gt;&gt;C: 201 Created&lt;br/&gt;(client_id, client_secret)
</code></pre>

<p>This works, at least in the sense that it solves the bootstrapping problem. The client can show up without any prior arrangement and get credentials.</p>

<p>But there is a deeper problem that this flow makes hard to see.</p>

<h2 id="problems-with-dcr">The Problems with DCR</h2>

<h3 id="anyone-can-register">Anyone Can Register Anything</h3>

<p>The registration endpoint must be open to the world by design. That is the whole point of dynamic registration in an open ecosystem. Any actor, whether that's a legitimate app, a bot, or an attacker, can call it and create a client registration.</p>

<pre><code class="mermaid">graph LR
    A[Web App\nname: Acme\nlogo: acme.com/logo.png]
    B[Desktop App\nname: Acme\nlogo: acme.com/logo.png]
    C[Attacker\nname: Acme\nlogo: acme.com/logo.png]

    A --&gt;|POST /register| R[/Register Endpoint/]
    B --&gt;|POST /register| R
    C --&gt;|POST /register| R

    R --&gt; D[client_id: aaa]
    R --&gt; E[client_id: bbb]
    R --&gt; F[client_id: ccc]

    style C fill:#ffdddd
    style F fill:#ffdddd
</code></pre>

<p>The metadata in the request is entirely self-asserted. The server has no way to verify that the entity calling <code>/register</code> controls the logo URL it submitted, runs the website it claims to represent, or is in any way connected to the app name it provided. The authorization server is simply asked to accept claims it cannot check. The only clue as to the real identity of this client is the <code>redirect_uri</code>, which is only a partial solution as we'll discuss shortly.</p>

<h3 id="client-lifecycle">The Client Lifecycle Problem</h3>

<p>Once a client registers, the authorization server is responsible for managing that registration indefinitely. This creates an operational problem that has no clean solution.</p>

<p>There are a few approaches servers take to clean up stale registrations:</p>

<p><strong>Delete if unused within N hours.</strong> This seems reasonable until you realize it breaks clients that register in advance of a user session, or clients used infrequently. It also does nothing for malicious registrations that were used once.</p>

<p><strong>Delete when the last refresh token expires.</strong> This is a cleaner signal, but it still requires keeping a record of every client until its tokens expire. For servers with high legitimate usage, this table grows continuously.</p>

<p><strong>Leave it to the client to re-register.</strong> The problem here is clients have no reliable way to know whether their registration is still valid before sending a user through an OAuth flow. The client doesn't even discover the registration is gone when the flow fails, because this failure mode ends with the user on the authorization server screen, never being sent back to the client. To avoid dead ends, clients tend to re-register on every login. This compounds the very bloat you were trying to avoid.</p>

<table>
<thead>
<tr>
  <th>client_id</th>
  <th>created</th>
  <th>last used</th>
</tr>
</thead>
<tbody>
<tr>
  <td>aaa1</td>
  <td>6 months ago</td>
  <td>unknown</td>
</tr>
<tr>
  <td>bbb2</td>
  <td>3 months ago</td>
  <td>unknown</td>
</tr>
<tr>
  <td>ccc3</td>
  <td>3 months ago</td>
  <td>today</td>
</tr>
<tr>
  <td>ddd4</td>
  <td>1 month ago</td>
  <td>unknown</td>
</tr>
<tr>
  <td>eee5</td>
  <td>today</td>
  <td>today</td>
</tr>
<tr>
  <td>... 10,000 more</td>
  <td></td>
  <td></td>
</tr>
</tbody>
</table>

<p>The authorization server is stuck guessing which records are safe to delete, while new ones keep arriving.</p>

<h3 id="client-impersonation">Client Impersonation Is Undetectable</h3>

<p>The most serious problem with DCR is not the operational overhead. It is that impersonation is structurally impossible to detect.</p>

<p>Nothing in DCR prevents an attacker from registering a client with the same name, logo, and description as a legitimate app. Both will have a <code>client_id</code>. Both will show users the same consent screen. The authorization server has no mechanism to distinguish them.</p>

<pre><code class="mermaid">graph LR
    subgraph Legitimate App
        L[client_id: abc123\nname: Acme Wallet\nlogo: acme.com/logo.png]
    end
    subgraph Malicious App
        M[client_id: xyz789\nname: Acme Wallet\nlogo: acme.com/logo.png]
    end

    L --&gt; U1[User sees:\n'Acme Wallet wants access']
    M --&gt; U2[User sees:\n'Acme Wallet wants access']

    style M fill:#ffdddd
    style U2 fill:#ffdddd
</code></pre>

<p>This presents a real OAuth phishing risk. A fake app can present a consent screen that looks identical to a legitimate service. If the user authorizes it, from the server's side, nothing looks wrong.</p>

<p>There are defenses against this, but they all require clients to opt into something extra: signed software statements, app attestation, platform-issued certificates. That pushes a significant burden onto every legitimate developer, and leaves the protection entirely voluntary.</p>

<h3 id="credential-sprawl">Credential Sprawl for Clients</h3>

<p>From the client developer's perspective, DCR introduces a class of credential that OAuth was supposed to eliminate: per-server identities that have to be managed, stored, and refreshed.</p>

<p>For each authorization server the client works with, it now needs to:</p>

<ul>
<li>Call <code>/register</code> to receive a <code>client_id</code> and <code>client_secret</code></li>
<li>Store those credentials securely, separately from any tokens</li>
<li>Handle rotation and expiration of those credentials</li>
<li>Decide whether to re-register when something changes</li>
</ul>

<p>There is also no standard mechanism for a client to verify its <code>client_id</code> is still valid before starting a flow. When the authorization server is about to present an OAuth consent screen, it realizes the <code>client_id</code> doesn't exist and ends the flow there, not sending the user back to the invalid client. The user sees a generic error screen, and the client doesn't even know this happened.</p>

<h2 id="the-problem">The Root of the Problem</h2>

<p>All four of these issues trace back to the same structural flaw: DCR separates the assertion of identity from any authority over that identity.</p>

<p>The authorization server accepts claims about who the client is, but has no external signal to verify those claims against. The client says "I am Acme App" and the server has nothing to cross-reference that against.</p>

<p>Compare this to what we do for humans. When a user logs in, the server asks them to prove something: a password, a passkey, an OTP. The claim "I am Alice" is backed by something. DCR never asks the client for anything comparable.</p>

<p>The question is: what does a client actually control in the real world? A web app controls its domain. A mobile app has a backend, or an app store identity. These are real anchors. The question is whether the protocol uses them.</p>

<p><a href="https://oauth.net/2/client-id-metadata-document/">Client ID Metadata Document</a> (CIMD) is built around that insight. The <code>client_id</code> is a URL. The authority comes from who controls that URL.</p>

<h2 id="how-cimd-works">How Client ID Metadata Document Works</h2>

<p>With CIMD, there is no registration step. The client's identifier is a URL on a domain the client controls. When an authorization server encounters a <code>client_id</code> it has not seen before, it fetches that URL to discover the client's metadata.</p>

<pre><code class="mermaid">sequenceDiagram
    participant App as Client App
    participant Browser as Browser
    participant AS as Authorization Server
    participant Meta as app.example.com

    App-&gt;&gt;Browser: Redirect to AS&lt;br/&gt;client_id=https://app.example.com/client
    Browser-&gt;&gt;AS: GET /authorize?client_id=https://app.example.com/client&amp;...
    AS-&gt;&gt;Meta: GET https://app.example.com/client
    Note over AS,Meta: Back-channel fetch from client-controlled domain
    Meta-&gt;&gt;AS: Returns JSON metadata document
    AS-&gt;&gt;Browser: Show consent screen using fetched metadata
    Browser-&gt;&gt;AS: User approves
    AS-&gt;&gt;Browser: Redirect to redirect_uri with auth code
    Browser-&gt;&gt;App: Delivers auth code
    App-&gt;&gt;AS: POST /token
    AS-&gt;&gt;App: Access token
</code></pre>

<p>The client publishes its own display name, logo, redirect URIs, supported authentication methods, and JWKS. The AS discovers this at runtime. Nothing needs to happen in advance.</p>

<p>This one change, making the <code>client_id</code> a URL on a client-controlled domain, solves most of the problems described above.</p>

<h2 id="cimd-possible">What CIMD Makes Possible</h2>

<h3 id="domain-ownership">Domain Ownership as a Trust Signal</h3>

<p>When the AS fetches the client metadata, it knows what domain it fetched it from. That domain is something it can actually start making decisions about. This opens up trust tiers that were structurally impossible with DCR:</p>

<pre><code class="mermaid">graph TD
    subgraph Authorization Server Policy
        A{Client domain\nseen before?}
        A --&gt;|No, first time| B[Show extra confirmation\nto user]
        A --&gt;|Yes, pre-approved| C[Proceed normally]
        A --&gt;|Flagged/blocked| D[Deny request]
    end

    B --&gt; E[User approves]
    E --&gt; C
</code></pre>

<p>An AS can prompt users for extra confirmation when a client from a newly seen domain requests access — similar to how browsers warn about unfamiliar download sources. Once enough users have authorized clients at a domain and nothing suspicious has come up, the AS can gradually reduce the friction for that domain. It can integrate domain reputation services. It can maintain an explicit allowlist of verified domains for frictionless access, and block suspicious ones.</p>

<p>None of this requires the client to behave differently based on which AS it is talking to. A client that has been pre-enrolled by an enterprise admin and a client talking to the same AS for the first time present their <code>client_id</code> URL identically. The domain is implicit in the URL, and the AS decides what to do with it.</p>

<h3 id="enterprise-preregistration">Enterprise Pre-Registration Without Client Changes</h3>

<p>Enterprise admins need control over which apps can access company resources. With DCR, this is nearly impossible: the <code>client_id</code> is generated dynamically at registration time, so the admin has no way to reference it before the employee runs the app.</p>

<p>With CIMD, the admin pre-registers the <code>client_id</code> URL (for example, <code>https://myapp.example.com/oauth/client</code>) in the AS. When an employee runs the app, the app presents its <code>client_id</code> URL as it always does. The AS fetches the metadata, finds the URL is already registered by the admin, and proceeds with the enterprise-approved experience.</p>

<pre><code class="mermaid">sequenceDiagram
    participant User
    participant App as Client App
    participant AS as Authorization Server
    participant Admin

    Admin-&gt;&gt;AS: Pre-register client URL&lt;br&gt;https://myapp.example.com/oauth/client
    Note over Admin,AS: Setup happens once, in advance

    User-&gt;&gt;App: Starts OAuth flow
    App-&gt;&gt;AS: client_id=https://myapp.example.com/oauth/client
    AS-&gt;&gt;App: Fetch metadata from URL
    App-&gt;&gt;AS: Returns metadata
    Note over AS: URL matches pre-registered entry
    AS-&gt;&gt;User: Proceeds with approved experience
</code></pre>

<p>The client doesn't know or care whether it is being used in an enterprise context. Its <code>client_id</code> URL is the same everywhere. The enterprise filtering happens entirely at the AS.</p>

<h3 id="client-keys">Clients Control Their Own Keys</h3>

<p>Because the client publishes a JWKS (or a JWKS URI) in its metadata document, it can rotate keys without coordinating with the authorization server. The AS fetches fresh metadata when the cache expires and picks up the new keys automatically. This makes <code>private_key_jwt</code> client authentication practical for any client with a web presence.</p>

<p>Authorization servers that want to enforce strong client authentication can validate the signatures. Servers that do not have that requirement can ignore the signature and proceed with whatever they accept. The client publishes good metadata and lets each AS enforce what it needs.</p>

<h3 id="mobile-apps">Mobile Apps and Attestation</h3>

<p>Mobile apps have always been a challenging case for client identity. The app binary has no inherent web identity, and DCR gives it none.</p>

<p>With CIMD, a mobile app can follow the pattern in <a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-attestation-based-client-auth/">OAuth Attestation-Based Client Authentication</a>: the app's backend (an "attester backend") hosts the CIMD document and manages the client's keys. The AS fetches the CIMD URL, which points to the attester backend, and can perform attestation checks against the key material there.</p>

<pre><code class="mermaid">sequenceDiagram
    participant App as Mobile App
    participant AB as Attester Backend
    participant AS as Authorization Server

    Note over AB: Publishes CIMD at&lt;br&gt;https://attester.example.com/client
    Note over AB: Manages JWKS and&lt;br&gt;attestation material

    App-&gt;&gt;AS: client_id=https://attester.example.com/client
    AS-&gt;&gt;AB: Fetch CIMD document
    AB-&gt;&gt;AS: Returns metadata + JWKS URI
    AS-&gt;&gt;AB: Fetch JWKS
    AB-&gt;&gt;AS: Returns public keys
    Note over AS: Can now verify app-signed assertions&lt;br&gt;using attester-managed keys
</code></pre>

<p>Mobile platforms also give apps a way to "claim" an https redirect URL, linking the app binary to a domain the developer controls. This connects the redirect URL and the CIMD URL to the same domain end to end, giving the AS another corroborating signal.</p>

<p>One thing worth noting for readers familiar with DCR: the spec does define a <code>software_statement</code> property that was intended to solve a similar problem. In practice it was left underspecified — the DCR spec itself says nothing about how to create one, what it should contain, or how keys should be managed. Any ecosystem trying to use it would need to define all of that separately, and then convince every mobile app developer and every AS to adopt the new behavior. CIMD combined with Attestation-Based Client Authentication layers on top of the existing <code>jwks_uri</code> mechanism, which means it composes with what implementations already support rather than requiring a new convention from scratch.</p>

<p>This gives the AS a meaningful level of confidence in the mobile app's identity.</p>

<h2>Comparison</h2>

<table>
<thead>
<tr>
  <th></th>
  <th>Dynamic Client Registration</th>
  <th>Client ID Metadata Document</th>
</tr>
</thead>
<tbody>
<tr>
  <td>Registration step</td>
  <td>Required (unauthenticated POST)</td>
  <td>None</td>
</tr>
<tr>
  <td>Authority anchor</td>
  <td>None (self-asserted)</td>
  <td>Domain ownership</td>
</tr>
<tr>
  <td>Client impersonation</td>
  <td>Undetectable</td>
  <td>Domain-keyed, harder to fake</td>
</tr>
<tr>
  <td>Client lifecycle management</td>
  <td>AS must manage cleanup</td>
  <td>Client controls its own document</td>
</tr>
<tr>
  <td>Key rotation</td>
  <td>Requires AS coordination</td>
  <td>Client-controlled, AS fetches on use</td>
</tr>
<tr>
  <td>Enterprise pre-approval</td>
  <td>Out-of-band coordination required</td>
  <td>Admin registers URL; client behavior unchanged</td>
</tr>
<tr>
  <td>Mobile attestation</td>
  <td>Requires special-casing</td>
  <td>Natural fit via attester backend</td>
</tr>
<tr>
  <td>Per-AS credential to store</td>
  <td>client_id + secret</td>
  <td>None</td>
</tr>
</tbody>
</table>

<h2 id="cimd-not-solved">What CIMD Does Not Solve</h2>

<p>CIMD is not a complete solution to the open ecosystem trust problem. A few things are worth calling out, either as known limitations or as possible future work.</p>

<p>Domain spoofing at the visual layer is still possible. An attacker pretending to be <code>acme.com</code> can register <code>acme-login.com</code> and host a convincing CIMD document there. Domain reputation services help, but do not eliminate this. The improvement over DCR is that there is now a domain to leverage in any decisions, and domain-based signals are much richer than nothing.</p>

<p>CIMD only helps as much as the AS acts on it. A server that accepts any CIMD URL without applying any domain-based policy gets roughly the same trust posture as DCR on the impersonation dimension, though the client lifecycle and credential sprawl problems are still improved.</p>

<p>For machine-to-machine clients without an attester backend, CIMD without <code>private_key_jwt</code> or mTLS is still self-asserted metadata, just fetched from a URL rather than submitted via POST. Strong client authentication still requires key material.</p>

<h3 id="desktop-apps">Desktop Apps</h3>

<p>Desktop apps are the hardest case. Mobile platforms provide attestation APIs and let apps claim https redirect URLs. Desktop platforms currently do not. A desktop app cannot cleanly connect its running instance to a domain the developer controls, and localhost redirect URLs (which desktop apps are forced to use) can be intercepted by any app on the same machine and provide no protection against app impersonation.</p>

<p>This means client impersonation for desktop apps remains possible even with CIMD. That said, it is no worse than DCR, which also provides no solution here. And adopting CIMD for desktop apps still removes the credential sprawl problem and makes the AS implementation uniform across all client types, rather than requiring special handling for desktop.</p>

<p>Token binding is still available to desktop apps. Specs like <a href="https://oauth.net/2/dpop/">DPoP</a> bind access tokens and refresh tokens to client-asserted keys without trying to solve client authentication. A desktop app can leverage DPoP to limit token reuse even when client identity itself cannot be strongly verified.</p>

<h2 id="conclusion">Where This Leaves Us</h2>

<p>DCR solved the bootstrapping problem but could not solve the trust problem. It gave authorization servers a way to accept unknown clients, without giving them any tools to reason about which unknown clients to trust.</p>

<p>CIMD is not a drop-in replacement for DCR in every deployment. But for open ecosystems like MCP, decentralized social, and federated enterprise, it provides the trust hooks that DCR structurally cannot. The domain is a useful anchor. Enterprise pre-enrollment of clients requires no client changes. Key management stays with the client. Mobile app attestation fits naturally.</p>

<p>For AS operators, the path forward is to accept <code>client_id</code> values that are HTTPS URLs, fetch the metadata document on first encounter, and build domain-based trust policies from there. For client developers, the change is even simpler: publish a metadata document at a stable URL on your domain and use that URL as your <code>client_id</code>.</p>

<p>The specs are live and moving through the IETF process. <a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/">Client ID Metadata Document</a> covers the metadata document format and discovery. <a href="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-attestation-based-client-auth">Attestation-Based Client Authentication</a> describes the architecture of using an attester backend with mobile apps.</p>

<p>If you are building in this space, both documents are worth reading, and the OAuth working group is actively discussing both. Feel free to chime in on the <a href="https://oauth.net/about/community/">OAuth mailing list</a> or on the individual GitHub repos for the specs.</p>
]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2026/07/20/17/mailmaint-oauth-profile-feedback</id>
    <title>Feedback on mailmaint OAuth Profile for Open Public Clients</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2026/07/20/17/mailmaint-oauth-profile-feedback"/>
    <updated>2026-07-20T19:39:06+02:00</updated>
    <published>2026-07-20T19:39:06+02:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>Hi all,</summary>
    <content type="html"><![CDATA[<p>Hi all,</p>

<p>I owe the working group a review of the "<a href="https://www.ietf.org/archive/id/draft-ietf-mailmaint-oauth-public-05.html">OAuth Profile for Open Public Clients</a>", and apologies for sending this so late after the last IETF meeting, and the night before this IETF meeting.</p>

<p>Please note that I have not followed all of the discussion about this draft on the mailing list or recent meetings. If any of my suggestions have already been discussed and decided against, the justification for the decision would be worth noting in the draft for future reference.</p>

<p>My feedback is ordered most significant to least significant.</p>

<p>Overall, this spec is in good shape. It avoids defining new OAuth mechanisms, it establishes no new relationships between OAuth roles and it uses the standard Resource Owner / Client / AS / RS model.</p>

<h2>Client Registration</h2>

<p>My largest piece of feedback is about the use of Dynamic Client Registration. The use of DCR in "open world" OAuth will lead to significant operational burden. I believe I already shared this feedback a couple of years ago. Since then, there has been another large scale deployment of DCR that has since moved away to an alternative.</p>

<p>The initial version of the MCP spec from March 2025 required MCP clients register using DCR. Many of the authorization servers that immediately added support for it have since come to regret the challenges with operating it long term, and there are many other authorization servers that refused to add support in the first place, requiring manual configuration instead.</p>

<p>In the time between then and now, the OAuth working group has adopted Client ID Metadata Document (CIMD) https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/ which provides a way for a client to publish its metadata at a URL and use that URL as the OAuth <code>client_id</code>. Both the BlueSky/atproto ecosystem as well as the MCP ecosystem now recommend CIMD as the default client registration option. Since both of these ecosystems are also "open world" OAuth like the email ecosystem, it would also be a natural fit here.</p>

<p>While it is not yet an RFC, it is already getting quite a lot of adoption, and I expect that to continue.</p>

<p>Despite the <code>client_id</code> being a URL, this works just fine with desktop and native apps. The URL would be hosted on the app's website, and since most apps have a website you can download them from, this isn't a problem in practice. And for the clients that are already web based, this is a natural fit. Which also leads me to the next point...</p>

<h2>Client Authentication</h2>

<p>I realize that most of the clients that will implement this spec are desktop/mobile clients, so will be considered public clients since they won't have a way to be provisioned with credentials. However there will also be clients that are running on a web server, in which case they do have the ability to manage credentials.</p>

<p>Paired with CIMD, a web-based client would publish its public key and link to it from the <code>jwks_uri</code> property in the CIMD, and would then be able to strongly authenticate all outgoing requests using <code>private_key_jwt</code> (described in Section 8.2 https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-02.html#section-8.2). For these clients, it means the client metadata is not only hosted at a URL, but the metadata can actually be considered to be authenticated so is much more trustworthy than both unauthenticated CIMD metadata and especially DCR metadata. The other nice thing about this is if an authorization server doesn't care about client authentication it can just ignore the header and process the request identical to a client that doesn't use client authentication.</p>

<h2><code>offline_access</code> scope</h2>

<p>The <code>offline_access</code> scope is not defined in any OAuth RFC, it originates from the OpenID Connect Core spec. Using it in a non-OIDC OAuth profile is fine, but registering it in the IANA "OAuth Scope" registry is probably not appropriate. I think you can just remove this from the IANA registration section and the references to it in the scope sections are sufficient.</p>

<h2>DPoP</h2>

<p>Requiring DPoP would provide meaningfully stronger security, as token theft is a realistic
threat against long-running desktop clients. The draft acknowledges DPoP's value but
leaves it optional. Given that the minimum access token lifetime is one hour (see below),
a stolen token has significant value. DPoP substantially limits the risk.</p>

<p>Combining with the feedback above, an option could be to require DPoP for public clients, but leave it optional for clients using client authentication published in the CIMD.</p>

<h2>Token Lifetime</h2>

<p>Most OAuth security guidance recommends short-lived access tokens, in the order of
minutes, not hours. Setting a minimum of 1 hour in the spec is unusual and goes
against the direction of most OAuth security profiles. This isn't necessarily a dealbreaker,
but is at least worth justifying in a little more detail.</p>

<p>If you are using DPoP, you can also generally justify longer-lived access tokens,
so another option is to have different recommendations depending on whether DPoP is used.</p>

<h2>Pushed Authorization Requests</h2>

<p>Pushed Authorization Requests (RFC 9126) prevents authorization request parameters from appearing in browser history and
eliminates certain parameter-manipulation attacks. For this use case, where the client
constructs the full authorization URL locally before handing it to the browser, PAR would
provide meaningful additional protection. To my earlier point, if there was a conscious decision to not require PAR, it would be worth noting the reasons at the very least.</p>

<h2>Discovery from Email Address</h2>

<p>There is a mention in Security Considerations that "The issuer is expected to be autodetected from the user's email address", but there is no description of how this is expected to be done. I see that this mechanism is described in the "Automatic Configuration of Email, Calendar, and Contact Server Settings" draft, but there should probably be a reference to that from somewhere in this profile.</p>

<h2>Missing reference to RFC 9700 (OAuth Security BCP)</h2>

<p>The spec references RFC 6819 as the OAuth threat model but not RFC 9700 (OAuth 2.0 Security Best Current Practices, published 2025). RFC 9700 supersedes much of RFC 6819's threat analysis and is the current normative security reference. This should be added.</p>

<p>Thanks, and I am happy to discuss any of this further during the meeting or if you find me during any breaks this week.</p>
]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2026/05/27/10/cross-domain-api-access</id>
    <title>Cross-Domain API Access: Beyond the "Obvious" Shortcuts</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2026/05/27/10/cross-domain-api-access"/>
    <updated>2026-05-27T16:35:08-07:00</updated>
    <published>2026-05-27T16:35:08-07:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>Cross-domain access is everywhere in today's software landscape. Whether you look at enterprise SaaS applications, AI agents interacting with user data across multiple platforms, or "integrated experiences" pulling information from a calendar, a chat tool, and a wiki—everything eventually needs to talk across boundaries.</summary>
    <content type="html"><![CDATA[<p>Cross-domain access is everywhere in today's software landscape. Whether you look at enterprise SaaS applications, AI agents interacting with user data across multiple platforms, or "integrated experiences" pulling information from a calendar, a chat tool, and a wiki—everything eventually needs to talk across boundaries.</p>
<p>Development teams frequently reach for the quickest path to wire these systems together. Usually, teams fall back on two "obvious" architectural shortcuts. However, as experience deploying these architectures at scale demonstrates, both models break down in production.</p>
<p>Let's take a closer look at why these shortcuts fail and what a resilient cross-domain pattern actually looks like.</p>
<p>🧶 <b>Shortcut #1: Have the IdP issue the access token directly</b></p>
<p><b> The pattern:</b> the client takes its ID Token to the IdP, exchanges it for an access token, and sends that access token straight to the resource app's API.</p>
<p><b> Why it's tempting:</b> it reuses the IdP that everyone already trusts. It feels like a clean, one-stop shop.</p>
<p><b> Why it breaks:</b> every API on the receiving end now has to trust a growing list of foreign token issuers — each with its own quirks around token format, claim conventions, key rotation, and revocation. </p>
<p>Suddenly your API team is in the federation business, doing one-off integrations per IdP. That's not a sustainable model for building APIs at scale. APIs are far better served by having a local authorization server issuing the tokens they validate — one issuer, one model, one set of rules.</p>
<p>🪪<b> Shortcut #2: Send the ID Token across domains</b></p>
<p><b> The pattern:</b> skip the IdP-issued access token and present the original ID Token directly at the receiving app's authorization server, exchanging it for a locally issued access token.</p>
<p><b> Why it's tempting:</b> ID Tokens are standardized, so it feels like it sidesteps the trust-fan-out problem from #1.</p>
<p><b> Why it breaks:</b> ID Tokens are issued for one audience — the application the user signed into. Sending them somewhere else violates that audience binding, opens up replay and misuse risks.</p>
<p>🎯 <b>What Cross-App Access does differently</b></p>
<p> Cross-App Access (XAA) uses a two-stage flow — and each stage exists specifically to fix one of the problems above.</p>
<p><b> Stage 1:</b> The client makes a Token Exchange request to the IdP to exchange the ID Token for an ID-JAG: a purpose-built, short-lived, audience-bound grant for the resource authorization server.</p>
<p> No ID Token misuse, no audience confusion. The IdP also stays in the loop to govern whether this cross-app access should happen at all — exactly where enterprise IT already manages who can access what.</p>
<p><b> Stage 2:</b> The resource app's authorization server exchanges the ID-JAG for its own access token. The API keeps its local AS, its own token format, and its own revocation story. It only has to trust the access tokens issued by its own AS — not a foreign access token.</p>
<p> We can push all the complexity of user login, token minting, and cross-domain policy evaluation onto the specialized identity components, keeping the resource API free to do the much simpler task of validating its own domain's access tokens and serving data.</p>
<p> If you're designing cross-domain access for an AI agent, an enterprise suite, or any multi-vendor ecosystem, this is the pattern to follow. The IETF draft: <a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-identity-assertion-authz-grant/">https://datatracker.ietf.org/doc/draft-ietf-oauth-identity-assertion-authz-grant/</a></p>]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2025/11/25/1/mcp-authorization-spec-update</id>
    <title>Client Registration and Enterprise Management in the November 2025 MCP Authorization Spec</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2025/11/25/1/mcp-authorization-spec-update"/>
    <updated>2025-11-25T13:25:00-08:00</updated>
    <published>2025-11-25T13:25:00-08:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>The new MCP authorization spec is here! Today marks the one-year anniversary of the Model Context Protocol, and with it, the launch of the new 2025-11-25 specification.</summary>
    <content type="html"><![CDATA[<p>The new MCP authorization spec is here! Today marks the one-year anniversary of the Model Context Protocol, and with it, the launch of the new <b><a href="https://modelcontextprotocol.io/specification/2025-11-25">2025-11-25 specification</a></b>.</p>
<p>I’ve been helping out with the authorization part of the spec for the last several months, working to make sure we aren't just shipping something that works for hobbyists, but something that even scales to the enterprise. If you’ve been following my posts like <a href="https://aaronparecki.com/2025/05/12/27/enterprise-ready-mcp">Enterprise-Ready MCP</a> or <a href="https://aaronparecki.com/2025/04/03/15/oauth-for-model-context-protocol">Let's Fix OAuth in MCP</a>, you know this has been a bit of a journey over the past year.</p>
<p>The new spec just dropped, and while there are a ton of great updates across the board, far more than I can get in to in this blog post, there are two changes in the authorization layer that I am most excited about. They fundamentally change how clients identify themselves and how enterprises manage access to AI-enabled apps.</p>
<h2>Client ID Metadata Documents (CIMD)</h2>
<p>If you’ve ever tried to work with an open ecosystem of OAuth clients and servers, you know the "Client Registration" problem. In traditional OAuth, you go to a developer portal, register your app, and get a <code>client_id</code> and <code>client_secret</code>. That works great when there is one central server (like Google or GitHub) and many clients that want to use that server.</p>
<p>It breaks down completely in an open ecosystem like MCP, where we have many clients talking to many servers. You can't expect a developer of a new AI Agent to manually register with every single one of the 2,000 MCP servers in the <a href="https://blog.modelcontextprotocol.io/posts/2025-09-08-mcp-registry-preview/">MCP server registry</a>. Plus, when a new MCP server launches, that server wouldn't be able to ask every client developer to register either.</p>
<p>Until now, the answer for MCP was Dynamic Client Registration (DCR). But as implementation experiences has shown us over the last several months, DCR introduces a massive amount of complexity and risk for both sides.</p>
<p>For <b>Authorization Servers</b>, DCR endpoints are a headache. They require public-facing APIs that need strict rate limiting to prevent abuse, and they lead to unbounded database growth as thousands of random clients register themselves. The number of client registrations will only ever increase, so the authorization server is likely to implement some sort of "cleanup" mechanism to delete old client registrations. The problem is there is no clear definition of what an "old" client is.  And if a dynamically registered client is deleted, the client doesn't know about it, and the user is often stuck with no way to recover. Because of the security implications of an endpoint like this, DCR has also been a massive barrier to enterprise adoption of MCP.</p>
<p>For <b>Clients</b>, it’s just as bad. They have to manage the lifecycle of their client credentials on top of the actual access tokens, and there is no standardized way to check if the client registration is still valid. This frequently leads to sloppy implementations where clients simply register a brand new <code>client_id</code> every single time a user logs in, further increasing the number of client registrations at the authorization server. This isn't a theoretical problem, this is also how Mastodon has worked for the last several years, and has some <a href="https://github.com/mastodon/mastodon/issues/27740">GitHub issue threads</a> describing the challenges it creates.</p>
<p>The new MCP spec solves this by adopting <b>Client ID Metadata Documents</b>.</p>
<p>The OAuth Working Group <a href="https://aaronparecki.com/2025/10/08/4/cimd">adopted the Client ID Metadata Document spec in October</a> after about a year of discussion, so it's still relatively new. But seeing it land as the default mechanism in MCP is huge. Instead of the client registering with each authorization server, the client establishes its own identity with a URL it controls and uses the URL to identify itself during an OAuth flow.</p>
<p>When the client starts an OAuth request to the MCP authorization server, it says, "Hi, I'm <code>https://example-app.com/client.json</code>." The server fetches the JSON document at that URL and finds the client's metadata (logo, name, redirect URIs) and proceeds on as usual.</p>
<p>This creates a decentralized trust model based on DNS. If you trust <code>example.com</code>, you trust the client. It removes the registration friction entirely while keeping the security guarantees we need. It’s the same pattern we’ve used in <a href="https://indieauth.net/">IndieAuth</a> for over a decade, and it fits MCP perfectly.</p>
<p>There are definitely some new considerations and risks this brings, so it's worth diving into the details about Client ID Metadata Documents in the <a href="https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#client-id-metadata-documents">MCP spec</a> as well as the <a href="https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-00.html#section-6">IETF spec</a>. For example, if you're building an MCP client that is running on a web server, you can actually manage private keys and publish the public keys in your metadata document, enabling strong client authentication. And like Dynamic Client Registration, there are still limitations for how desktop clients can leverage this, which can hopefully be solved by a future extension. I talked more about this during a hugely popular session at the Internet Identity Workshop in October, you can find the slides <a href="https://speakerdeck.com/aaronpk/oauth-for-mcp-internet-identity-workshop-october-2025">here</a>.</p>
<p>You can try out this new flow today in VSCode, the first MCP client to ship support for CIMD even before it was officially in the spec. You can also learn more and test it out at the excellent website the folks at Stytch created: <a href="https://client.dev/">client.dev</a>.</p>
<h2>Enterprise-Managed Authorization (Cross App Access)</h2>
<p>This is the big one for anyone asking, "Is MCP safe to use in the enterprise?"</p>
<p>Until now, when an AI agent connected to an MCP server, the connection was established directly between the MCP client and server. For example if you are using ChatGPT to connect to the <a href="https://developers.asana.com/docs/using-asanas-mcp-server">Asana MCP server</a>, ChatGPT would start an OAuth flow to Asana. But if your Asana account is actually connected to an enterprise IdP like Okta, Okta would only see that you're logging in to Asana, and wouldn't be aware of the connection established between ChatGPT and Asana. This means today there are a huge number of what are effectively unmanaged connections between MCP clients and servers in the enterprise. Enterprise IT admins hate this because it creates "Shadow IT" connections that bypass enterprise policy.</p>
<p>The new MCP spec incorporates <b>Cross App Access (XAA) </b>as the authorization extension "<a href="https://github.com/modelcontextprotocol/ext-auth/blob/main/specification/draft/enterprise-managed-authorization.mdx">Enterprise-Managed Authorization</a>".</p>
<p>This builds on the work I discussed in <a href="https://aaronparecki.com/2025/05/12/27/enterprise-ready-mcp">Enterprise-Ready MCP</a> leveraging the <b>Identity Assertion Authorization Grant</b>. The flow puts the enterprise Identity Provider (IdP) back in the driver's seat.</p>
<p>Here is how it works:</p>
<p>
<ol start="1">
  <li>
    <p><b>Single Sign-On</b>: First you log into an MCP Client (like Claude or an IDE) using your corporate SSO, the client gets an ID token.</p>
  </li>
  <li>
    <p><b>Token Exchange</b>: Instead of the client starting an OAuth flow to ask the user to manually approve access to a downstream tool (like an Asana MCP server), the client takes that ID token back to the Enterprise IdP to ask for access.</p>
  </li>
  <li>
    <p><b>Policy Check</b>: The IdP checks corporate policy. "Is <code>Engineering</code> allowed to use <code>Claude</code> to access <code>Asana</code>?" If the policy passes, the IdP issues a temporary token (ID-JAG) that the client can take to the MCP authorization server.</p>
  </li>
  <li>
    <p><b>Access Token Request</b>: The MCP client takes the ID-JAG to the MCP authorization server saying "hey this IdP says you can issue me an access token for this user". The authorization server validates the ID-JAG the same way it would have validated an ID Token (remember this app is also set up for SSO to the same corporate IdP), and issues an access token.</p>
  </li>
</ol>
</p>
<p>This happens entirely behind the scenes without user interaction. The user doesn't get bombarded with consent screens, and the enterprise admin gets full visibility and revocability. If you want to shut down AI access to a specific internal tool, you do it in one place: your IdP.</p>

<h2>Further Reading</h2>
<p>There is a lot more in the full spec update, but these two pieces—<b>CIMD</b> for scalable client identity and <b>Cross App Access</b> for enterprise security—are the two I am most excited about. They take MCP to the next level by solving the biggest challenges that were preventing scalable adoption of MCP in the enterprise.</p>
<p>You can read more about the MCP authorization spec update in <a href="https://den.dev/blog/mcp-november-authorization-spec/">Den's excellent post</a>, and more about all the updates to the MCP spec in the <a href="https://blog.modelcontextprotocol.io/posts/2025-11-25-first-mcp-anniversary/">official announcement post</a>.</p>
<p>Links to docs and specs about everything mentioned in this post are below.</p>
<ul>
  <li><a href="https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization">MCP Authorization Spec 2025-11-25</a></li>
  <li><a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/">Client ID Metadata Document</a> (ietf.org)</li>
  <li><a href="https://datatracker.ietf.org/doc/draft-parecki-oauth-identity-assertion-authz-grant/">Identity Assertion Authorization Grant</a> (ietf.org)</li>
  <li><a href="https://aaronparecki.com/2025/05/12/27/enterprise-ready-mcp">Enterprise-Ready MCP</a></li>
  <li><a href="https://blog.modelcontextprotocol.io/posts/client_registration/">Evolving Client Registration</a> (blog.modelcontextprotocol.io)</li>
  <li><a href="https://oauth.net/cross-app-access/">Cross App Access</a> (oauth.net)</li>
</ul>]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2025/11/25/5/meetable-release-notes-november-2025</id>
    <title>Recurring Events for Meetable</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2025/11/25/5/meetable-release-notes-november-2025"/>
    <updated>2025-11-25T08:07:14-08:00</updated>
    <published>2025-11-25T08:07:14-08:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>In October, I launched an instance of Meetable for the MCP Community. They've been using it to post working group meetings as well as in-person community events. In just 2 months it already has 41 events listed!</summary>
    <content type="html"><![CDATA[<p>In October, I launched an instance of <a href="https://meetable.org/">Meetable</a> for the <a href="https://meet.modelcontextprotocol.io/">MCP Community</a>. They've been using it to post working group meetings as well as in-person community events. In just 2 months it already has 41 events listed!</p>

<p>One of the aspects of opening up the software to a new community is stress testing some of the design decisions. An early design decision was intentionally to not support recurring events. For a community calendar, recurring events are often problematic. Once a recurring event is created for something like a weekly meetup, it's no longer clear whether the event is actually going to happen, which is especially true for virtual events. If an organizer of the event silently <a href="https://indieweb.org/life_happens">drops away from the community</a>, it's very likely they will not go delete the event, and you can end up with stale events on the calendar quickly. It's better to have people explicitly create the event on the calendar so that every event was created with intention. To support this, I made a "Clone Event" button to quickly copy the details from a previous instance, and it even predicts the next date based on how often the event has been happening in the past.</p>

<p>But for the MCP community, which is a bit more formal than a purely community calendar, most of the events on their site are weekly or biweekly working group meetings. I had been hearing quite a bit of feedback that the current process of scheduling out the events manually, even with the "clone event" feature, was too much of a burden. So I set out to design a solution for recurring events to strike a balance between ease of use and hopefully avoiding some of the pitfalls of recurring events.</p>

<p>What I landed on is this:</p>

<p>You can create an "event template" from any existing event on the calendar, and give it a recurrence interval like "Every week on Tuesdays" or "Monthly on the 9th".</p>

<p><img src="https://aaronparecki.com/2025/11/25/5/recurrence-options.png" alt="recurrence options" /></p>

<p>(I'll add an option for "Monthly on the second Tuesday" later if this ends up being used enough.)</p>

<p>Once the schedule is created, copies of the event will be created at the chosen interval, but only a few weeks out. For weekly events, 4 weeks in advance will be created, biweekly will get scheduled 8 weeks out, monthly events 4 months out, and yearly events will have only the next year scheduled. Every day a cron job will create future events at the scheduled interval in advance. If the event template is deleted, future scheduled events will also be deleted.</p>

<p>So effectively for organizers there is nothing they need to do after creating the recurring event schedule. My hope is by having it work this way, instead of like recurring events on a typical Google calendar, it strikes a balance between ease of use but avoids orphaned events on the calendar. It still requires an organizer to delete a recurrence, so should only be used for events that truly have a schedule and are unlikely to be cancelled often.</p>

<p>Hopefully this makes Meetable even more useful for different kinds of communities! You can install your own copy of Meetable from the source code <a href="https://github.com/aaronpk/Meetable">on GitHub</a>.</p>
]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2025/10/11/5/indielogin-bluesky-oauth</id>
    <title>Adding Support for BlueSky to IndieLogin.com</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2025/10/11/5/indielogin-bluesky-oauth"/>
    <updated>2025-10-11T09:49:59-07:00</updated>
    <published>2025-10-11T09:49:59-07:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>Today I just launched support for BlueSky as a new authentication option in IndieLogin.com!</summary>
    <content type="html"><![CDATA[<p>Today I just launched support for BlueSky as a new authentication option in <a href="https://indielogin.com">IndieLogin.com</a>!</p>

<p>IndieLogin.com is a developer service that allows users to log in to a website with their domain. It delegates the actual user authentication out to various external services, whether that is an IndieAuth server, GitHub, GitLab, Codeberg, or just an email confirmation code, and now also BlueSky.</p>

<p>This means if you have a custom domain as your BlueSky handle, you can now use it to log in to websites like <a href="https://indieweb.org">indieweb.org</a> directly!</p>

<p><img src="https://aaronparecki.com/2025/10/11/5/bluesky-login.png" alt="bluesky login" /></p>

<p>Alternatively, you can add a link to your BlueSky handle from your website with a <code>rel="me atproto"</code> attribute, similar to how you would link to your GitHub profile from your website.</p>

<pre><code>&lt;a href="https://example.bsky.social" rel="me atproto"&gt;example.bsky.social&lt;/a&gt;
</code></pre>

<p><a href="https://indielogin.com/setup#atproto">Full setup instructions here</a></p>

<p>This is made possible thanks to BlueSky's support of the new OAuth <a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/">Client ID Metadata Document</a> specification, which was <a href="https://aaronparecki.com/2025/10/08/4/cimd">recently adopted by the OAuth Working Group</a>. This means as the developer of the IndieLogin.com service, I didn't have to register for any BlueSky API keys in order to use the OAuth server! The IndieLogin.com website <a href="https://indielogin.com/id">publishes its own metadata</a> which the BlueSky OAuth server can use to fetch the metadata from. This is the same client metadata that an <a href="https://indieauth.spec.indieweb.org/#client-information-discovery">IndieAuth server will parse</a> as well! Aren't standards fun!</p>

<p>The hardest part about the whole process was probably adding DPoP support. Actually <a href="https://github.com/aaronpk/indielogin.com/blob/main/lib/ATProto.php#L142">creating the DPoP JWT wasn't that bad</a> but the tricky part was handling the DPoP server nonces sent back. I do wish we had a better solution for that mechanism in DPoP, but I remember the reasoning for doing it this way and I guess we just have to live with it now.</p>

<p>This was a fun exercise in implementing a bunch of the specs I've been working on recently!</p>

<ul>
<li><a href="https://oauth.net/2.1">OAuth 2.1</a></li>
<li><a href="https://oauth.net/2/dpop/">DPoP</a></li>
<li><a href="https://oauth.net/2/client-id-metadata-document/">Client ID Metadata Document</a></li>
<li><a href="https://oauth.net/2/pushed-authorization-requests/">Pushed Authorization Requests</a></li>
<li><a href="https://oauth.net/2/browser-based-apps/">OAuth for Browser-Based Apps</a></li>
<li><a href="https://datatracker.ietf.org/doc/rfc9728/">Protected Resource Metadata</a></li>
</ul>

<p>Here's the link to the full <a href="https://atproto.com/specs/oauth">ATProto OAuth docs</a> for reference.</p>
]]></content>
  </entry>
  <entry>
    <id>https://aaronparecki.com/2025/10/08/4/cimd</id>
    <title>Client ID Metadata Document Adopted by the OAuth Working Group</title>
    <link rel="alternate" type="text/html" href="https://aaronparecki.com/2025/10/08/4/cimd"/>
    <updated>2025-10-08T12:14:38-07:00</updated>
    <published>2025-10-08T12:14:38-07:00</published>
    <author>
      <name>Aaron Parecki</name>
      <uri>https://aaronparecki.com/</uri>
    </author>
    <summary>The IETF OAuth Working Group has adopted the Client ID Metadata Document specification!</summary>
    <content type="html"><![CDATA[<p>The IETF OAuth Working Group has adopted the <a href="https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/">Client ID Metadata Document</a> specification!</p>

<blockquote>
  <p>This specification defines a mechanism through which an OAuth client can identify itself to authorization servers, without prior dynamic client registration or other existing registration.</p>
</blockquote>

<p>Clients identify themselves with their own URL, and host their metadata (name, logo, redirect URL) in a JSON document at that URL. They then use that URL as the <code>client_id</code> to introduce themselves to an authorization server for the first time.</p>

<p>The mechanism of clients identifying themselves as a URL has been in use in <a href="https://indieauth.net">IndieAuth</a> for over a decade, and more recently has been adopted by <a href="https://docs.bsky.app/docs/advanced-guides/oauth-client#client-and-server-metadata">BlueSky</a> for their OAuth API. The recent surge in interest in MCP has further demonstrated the need for this to be a standardized mechanism, and was the main driver in the latest round of discussion for the document! This could replace Dynamic Client Registration in MCP, dramatically simplifying management of clients, as well as enabling servers to limit access to specific clients if they want.</p>

<p>The folks at Stytch put together a really nice explainer website about it too! <a href="https://cimd.dev/">cimd.dev</a></p>

<p>Thanks to everyone for your contributions and feedback so far! And thanks to my co-author Emilia Smith for her work on the document!</p>
]]></content>
  </entry>
</feed>
