Skip to content

outpost/proxy: fix double host sent on token introspection - #25234

Merged
rissson merged 1 commit into
mainfrom
fix-proxy-outpost-double-host
Aug 19, 2026
Merged

outpost/proxy: fix double host sent on token introspection#25234
rissson merged 1 commit into
mainfrom
fix-proxy-outpost-double-host

Conversation

@rissson

@rissson rissson commented Aug 19, 2026

Copy link
Copy Markdown
Member

Details

closes #25226


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@rissson rissson self-assigned this Aug 19, 2026
@rissson rissson added area:backend backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Aug 19, 2026
@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 4a0b876
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a85b91c77031c0008295079
😎 Deploy Preview https://deploy-preview-25234--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.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.02326% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.52%. Comparing base (16047ba) to head (4a0b876).
⚠️ Report is 8 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/outpost/proxy/backchannel.rs 93.02% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25234      +/-   ##
==========================================
+ Coverage   91.35%   91.52%   +0.17%     
==========================================
  Files        1151     1151              
  Lines       73091    73125      +34     
  Branches     3889     3923      +34     
==========================================
+ Hits        66769    66931     +162     
+ Misses       6286     6158     -128     
  Partials       36       36              
Flag Coverage Δ
conformance 34.49% <ø> (+0.44%) ⬆️
e2e 39.15% <ø> (+2.26%) ⬆️
integration 31.04% <ø> (-0.04%) ⬇️
rust 39.73% <93.02%> (+0.52%) ⬆️
unit 93.20% <ø> (+9.24%) ⬆️
unit-migrate 93.21% <ø> (+10.69%) ⬆️

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.

@github-actions

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-4a0b876066d99a2dcc4747eb0c8abb16d0893188
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-4a0b876066d99a2dcc4747eb0c8abb16d0893188

Afterwards, run the upgrade commands from the latest release notes.

@rissson
rissson marked this pull request as ready for review August 19, 2026 15:03
@rissson
rissson requested a review from a team as a code owner August 19, 2026 15:03
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Aug 19, 2026
@rissson rissson removed this from authentik Core Aug 19, 2026
@rissson
rissson merged commit c92fd5b into main Aug 19, 2026
146 checks passed
@rissson
rissson deleted the fix-proxy-outpost-double-host branch August 19, 2026 16:32
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #25245

rissson added a commit that referenced this pull request Aug 19, 2026
#25234 to version-2026.8) (#25245)

Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:backend backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proxy outpost (Rust, 2026.8.0) sends duplicate Host header on token backchannel — nginx rejects with 400, forward auth loops (ERR_TOO_MANY_REDIRECTS)

2 participants