Skip to content

packages/ak-axum/extract/client_ip: support X-Forwarded-For with ports - #25682

Merged
rissson merged 1 commit into
mainfrom
forwarded-for-ports
Sep 9, 2026
Merged

rissson merged 1 commit into
mainfrom
forwarded-for-ports

Conversation

@rissson

@rissson rissson commented Sep 2, 2026

Copy link
Copy Markdown
Member

closes #25679

@rissson rissson self-assigned this Sep 2, 2026
@rissson
rissson requested a review from a team as a code owner September 2, 2026 13:02
@rissson rissson added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Sep 2, 2026
@rissson rissson added this to the Release 2026.8.2 milestone Sep 2, 2026
@rissson
rissson enabled auto-merge (squash) September 2, 2026 13:03
@netlify

netlify Bot commented Sep 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 4bac45f
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a981e83e4f5f40008aab167
😎 Deploy Preview https://deploy-preview-25682--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 Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.68%. Comparing base (ec6de5d) to head (4bac45f).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25682      +/-   ##
==========================================
- Coverage   91.71%   91.68%   -0.04%     
==========================================
  Files        1154     1154              
  Lines       73568    73568              
  Branches     4054     4054              
==========================================
- Hits        67474    67448      -26     
- Misses       6052     6078      +26     
  Partials       42       42              
Flag Coverage Δ
conformance 34.37% <ø> (+<0.01%) ⬆️
e2e 39.01% <ø> (+<0.01%) ⬆️
integration 30.52% <ø> (-0.45%) ⬇️
rust 42.92% <ø> (ø)
unit 93.26% <ø> (+<0.01%) ⬆️
unit-migrate 93.28% <ø> (+<0.01%) ⬆️

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

github-actions Bot commented Sep 2, 2026

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-4bac45fb419aff0c45f0958c7db3f02e6213bc89
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-4bac45fb419aff0c45f0958c7db3f02e6213bc89

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

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Sep 9, 2026
@rissson
rissson merged commit 4c177fb into main Sep 9, 2026
144 checks passed
@rissson
rissson deleted the forwarded-for-ports branch September 9, 2026 19:45
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Sep 9, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

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

emilburzo pushed a commit that referenced this pull request Sep 9, 2026
…s (cherry-pick #25682 to version-2026.8) (#25991)

packages/ak-axum/extract/client_ip: support X-Forwarded-For with ports (#25682)

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Co-authored-by: Marc 'risson' Schmitt <[email protected]>
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

Archived in project

Development

Successfully merging this pull request may close these issues.

Support ports in X-Forwarded-For

2 participants