You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,25 @@ redirects: {
216
216
This will remove the old page from the navigation structure, but keeps the URL around
217
217
with a redirect to the new location.
218
218
219
+
## 🤖 AI-Friendly Documentation
220
+
221
+
We make our docs consumable by AI agents and LLMs, not just humans.
222
+
223
+
### What we do
224
+
225
+
* **[`llms.txt`](https://docs.duendesoftware.com/llms.txt) and [`llms-full.txt`](https://docs.duendesoftware.com/llms-full.txt)** — Machine-readable site index and full content dump following the [llms.txt proposal](https://llmstxt.org/), so AI tools can discover and ingest our docs.
226
+
* **Content negotiation** — The server supports `Accept: text/markdown` to return raw Markdown for any docs page, giving AI agents clean content without HTML noise.
227
+
* **`robots.txt` signals** — We don't block AI crawlers. The robots.txt includes references to `llms.txt` so crawlers can find structured content.
228
+
229
+
Beyond this repo, Duende also provides tools that give AI coding assistants specialized knowledge (see [AI Agent Tools](https://docs.duendesoftware.com/general/ai-agent-tools/)):
230
+
231
+
* **[Agent Skills](https://github.com/DuendeSoftware/duende-skills)** — Structured `SKILL.md` files following the [Agent Skills format](https://agentskills.io/) that give AI assistants domain expertise on IdentityServer, BFF, token management, and more. Loaded automatically by compatible IDEs.
232
+
* **[MCP Server](https://github.com/DuendeSoftware/products/blob/main/docs-mcp/README.md)** — A local [Model Context Protocol](https://modelcontextprotocol.io/) server that gives AI assistants search and fetch access to the full Duende docs, blog, and sample code via SQLite full-text search.
233
+
234
+
### Why
235
+
236
+
Developers increasingly use AI assistants to find answers. If our docs aren't AI-friendly, those assistants hallucinate or point elsewhere. Making content machine-readable means Duende products get accurate representation in AI-generated answers.
237
+
219
238
## ⚖️ License
220
239
221
240
For all licensing information, refer to the relevant license files:
The `MapDynamicClientRegistration` extension method registers the DCR endpoints
204
185
and returns an `IEndpointConventionBuilder` which you can use to define authorization
205
186
requirements for your DCR endpoint.
206
187
207
188
See [Authorization](#authorization) for more details about implementing authorization for
208
189
the DCR endpoint.
190
+
209
191
</Steps>
210
192
193
+
### Adding the Registration Endpoint to the Discovery Document
194
+
195
+
By default, the Dynamic Client Registration (DCR) endpoint is not included in the [discovery document](/identityserver/reference/endpoints/discovery.md) of Duende IdentityServer.
196
+
197
+
To include it, change the Discovery Document options when registering IdentityServer in the service collection:
198
+
199
+
```csharp
200
+
// Program.cs
201
+
builder.Services.AddIdentityServer(options=>
202
+
{
203
+
// Either use a static URL for the registration endpoint, when hosted outside of IdentityServer:
"content": "<strong>New Livestream:</strong> A First Look at Duende's First-Party SAML 2.0 Support. <a href=\"https://duendesoftware.com/webinars/first-look-at-duende-first-party-saml-2-0-support\">Register Now!</a>"
0 commit comments