Skip to content

website/integrations: add AISIX AI Gateway guide - #26183

Merged
dominic-r merged 4 commits into
goauthentik:mainfrom
Yilialinn:docs/aisix-ai-gateway
Sep 17, 2026
Merged

dominic-r merged 4 commits into
goauthentik:mainfrom
Yilialinn:docs/aisix-ai-gateway

Conversation

@Yilialinn

Copy link
Copy Markdown
Contributor

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:

  • a valid authentik token returned 200 and reached the upstream once;
  • a token with a modified signature returned 401 with jwt_invalid and did not reach the upstream;
  • a valid token requesting a model outside allowed_models returned 403 and did not reach the upstream;
  • an unavailable JWKS endpoint returned 503 with jwks_unavailable and did not reach the upstream;
  • restoring the JWKS endpoint returned the flow to 200.

The MDX passes Prettier, Bash and YAML parsing, standalone MDX compilation, and the repository's official make integrations target. 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

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)
  • I have read the AI usage policy.

@netlify

netlify Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit b991e60
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6aabe5d29ac5340008803907
😎 Deploy Preview https://deploy-preview-26183--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dominic-r

Copy link
Copy Markdown
Member

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!

@Yilialinn
Yilialinn marked this pull request as ready for review September 17, 2026 12:52
@Yilialinn
Yilialinn requested a review from a team as a code owner September 17, 2026 12:52
@Yilialinn

Copy link
Copy Markdown
Contributor Author

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

codecov Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.95%. Comparing base (836aad0) to head (c699a52).
⚠️ Report is 2 commits behind head on main.

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              
Flag Coverage Δ
conformance 33.54% <ø> (+0.13%) ⬆️
e2e 38.31% <ø> (+<0.01%) ⬆️
integration 29.82% <ø> (-0.45%) ⬇️
rust 42.89% <ø> (ø)
unit 93.54% <ø> (ø)
unit-migrate 93.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@dominic-r
dominic-r enabled auto-merge (squash) September 17, 2026 16:10
@dominic-r

Copy link
Copy Markdown
Member

Thanks! Very much appreciated! Just pushed up a few changes to conform it with our other integration guides

@dominic-r
dominic-r merged commit 9721217 into goauthentik:main Sep 17, 2026
139 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants