Repository navigation
website/integrations: add AISIX AI Gateway guide - #26183
Conversation
Signed-off-by: Yilia Lin <[email protected]>
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hi @Yilialinn; just checking. Is this PR intended to be in draft? If not, feel free to mark it ready for review and I'll take a look! |
Hi @dominic-r, help to review, thanks! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26183 +/- ##
==========================================
- Coverage 91.98% 91.95% -0.04%
==========================================
Files 1174 1174
Lines 76184 76184
Branches 4056 4056
==========================================
- Hits 70077 70054 -23
- Misses 6065 6088 +23
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
Thanks! Very much appreciated! Just pushed up a few changes to conform it with our other integration guides |
Details
What does this PR change?
Adds a community-supported integration guide for using authentik as the OIDC issuer for machine workloads calling AISIX AI Gateway. The page covers provider setup, access-token inspection, AISIX OIDC/JWKS configuration, model-policy mapping, and verification checks.
This is a standards-based documentation integration. It does not add or change authentik runtime behavior.
Why is this change needed?
authentik users can already issue signed access tokens to machine clients, but the integration catalog does not show how to use those identities at an AI gateway boundary. The guide gives operators one complete example in which a workload presents a short-lived authentik token while AISIX applies its existing model access and rate-limit policy.
How was this tested?
I validated the flow with authentik 2026.8.2 and AISIX 1.2.0 using a local mock OpenAI-compatible upstream:
200and reached the upstream once;401withjwt_invalidand did not reach the upstream;allowed_modelsreturned403and did not reach the upstream;503withjwks_unavailableand did not reach the upstream;200.The MDX passes Prettier, Bash and YAML parsing, standalone MDX compilation, and the repository's official
make integrationstarget. The complete-checkout Rspack build indexed 248 pages and generated the AISIX integration page.Linked issues
None.
AI assistance disclosure
I used OpenAI Codex to assist with research, initial drafting, configuration consistency checks, and local validation. I reviewed and revised the final contribution, verified that its claims are tied to authentik 2026.8.2 and AISIX 1.2.0, and take responsibility for the submitted content. No AI-generated media is included.
Checklist
make all)make docs)