Skip to content

providers/proxy: add option to override host header with property mappings#14927

Merged
rissson merged 2 commits intomainfrom
providers/proxy/add-host-override
Jun 6, 2025
Merged

providers/proxy: add option to override host header with property mappings#14927
rissson merged 2 commits intomainfrom
providers/proxy/add-host-override

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Jun 5, 2025

Details

REPLACE ME


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

…pings

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested review from a team as code owners June 5, 2025 16:36
@netlify
Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 20b3ef5
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6841f03341c84600086cde87
😎 Deploy Preview https://deploy-preview-14927--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.

@netlify
Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 20b3ef5
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6841f03351f8b4000843806c

@codecov
Copy link

codecov bot commented Jun 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.77%. Comparing base (52ca70d) to head (20b3ef5).
Report is 19 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14927   +/-   ##
=======================================
  Coverage   92.76%   92.77%           
=======================================
  Files         817      818    +1     
  Lines       42197    42196    -1     
=======================================
+ Hits        39146    39148    +2     
+ Misses       3051     3048    -3     
Flag Coverage Δ
e2e 47.55% <ø> (-0.06%) ⬇️
integration 24.45% <ø> (+0.06%) ⬆️
unit 90.66% <ø> (+0.01%) ⬆️

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

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rissson
Copy link
Member

rissson commented Jun 5, 2025

/cherry-pick version-2025.6

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2025

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-20b3ef585bbb6c0dc4ac2f15e0327a89a85012c0
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-20b3ef585bbb6c0dc4ac2f15e0327a89a85012c0

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

@BeryJu
Copy link
Member Author

BeryJu commented Jun 5, 2025

/cherry-pick version-2025.6

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@rissson rissson merged commit a306cec into main Jun 6, 2025
101 checks passed
@rissson rissson deleted the providers/proxy/add-host-override branch June 6, 2025 12:55
rissson pushed a commit that referenced this pull request Jun 6, 2025
…pings (cherry-pick #14927) (#14945)

Co-authored-by: Jens L. <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request Jun 6, 2025
* main: (209 commits)
  core: bump django from 5.1.9 to 5.1.10 (#14951)
  website/docs: add 2025.6.1 release notes (#14948)
  root: remove /if/help (#14929)
  core, web: update translations (#14933)
  providers/proxy: add option to override host header with property mappings (#14927)
  website/integrations: fix webfinger link in tailscale doc (#14942)
  web/admin: make message container bottom aligned for admin interface (#14816)
  web/user: fix user settings flow not loading (#14911)
  website/docs: fix outdated and incorrect example kubernetes deployment (#14928)
  docusaurus-config: Update deps, colors. (#14796)
  admin: only run update checks in the default tenant (#14874)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#14923)
  core: bump astral-sh/uv from 0.7.10 to 0.7.11 (#14918)
  providers/proxy: set_oauth_defaults in reconcile instead of task (#14875)
  *: use ManagedAppConfig everywhere (#14839)
  tenants: fix tenant aware celery scheduler (#14921)
  core, web: update translations (#14910)
  core: bump goauthentik.io/api/v3 from 3.2025041.4 to 3.2025060.1 (#14919)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#14915)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14916)
  ...
kensternberg-authentik added a commit that referenced this pull request Jun 6, 2025
* main: (209 commits)
  core: bump django from 5.1.9 to 5.1.10 (#14951)
  website/docs: add 2025.6.1 release notes (#14948)
  root: remove /if/help (#14929)
  core, web: update translations (#14933)
  providers/proxy: add option to override host header with property mappings (#14927)
  website/integrations: fix webfinger link in tailscale doc (#14942)
  web/admin: make message container bottom aligned for admin interface (#14816)
  web/user: fix user settings flow not loading (#14911)
  website/docs: fix outdated and incorrect example kubernetes deployment (#14928)
  docusaurus-config: Update deps, colors. (#14796)
  admin: only run update checks in the default tenant (#14874)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#14923)
  core: bump astral-sh/uv from 0.7.10 to 0.7.11 (#14918)
  providers/proxy: set_oauth_defaults in reconcile instead of task (#14875)
  *: use ManagedAppConfig everywhere (#14839)
  tenants: fix tenant aware celery scheduler (#14921)
  core, web: update translations (#14910)
  core: bump goauthentik.io/api/v3 from 3.2025041.4 to 3.2025060.1 (#14919)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#14915)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#14916)
  ...
kensternberg-authentik added a commit that referenced this pull request Jun 6, 2025
* main:
  web/maintenance: remove `writeOnly` hacks from Form and HorizontalFormElement (#14649)
  web/admin: use attribute naming scheme for attributes (#14644)
  core: bump django from 5.1.9 to 5.1.10 (#14951)
  website/docs: add 2025.6.1 release notes (#14948)
  root: remove /if/help (#14929)
  core, web: update translations (#14933)
  providers/proxy: add option to override host header with property mappings (#14927)
  website/integrations: fix webfinger link in tailscale doc (#14942)
  web/admin: make message container bottom aligned for admin interface (#14816)
cavefire pushed a commit to cavefire/authentik that referenced this pull request Jun 24, 2025
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