Skip to content

providers/proxy: fix oidc client not using socket in embedded outpost - #21280

Merged
BeryJu merged 4 commits into
mainfrom
proxy-outpost-fix-token-url
Apr 2, 2026
Merged

BeryJu merged 4 commits into
mainfrom
proxy-outpost-fix-token-url

Conversation

@rissson

@rissson rissson commented Mar 31, 2026

Copy link
Copy Markdown
Member

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 and clients have been updated (make gen)

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 docs)

@netlify

netlify Bot commented Mar 31, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 78c6c61
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69ce66d86263db00079940d1
😎 Deploy Preview https://deploy-preview-21280--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 Mar 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.77%. Comparing base (ba82c97) to head (78c6c61).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21280      +/-   ##
==========================================
- Coverage   92.78%   92.77%   -0.02%     
==========================================
  Files        1007     1007              
  Lines       57372    57372              
  Branches      701      701              
==========================================
- Hits        53235    53229       -6     
- Misses       4125     4131       +6     
  Partials       12       12              
Flag Coverage Δ
conformance 37.16% <ø> (+<0.01%) ⬆️
e2e 42.63% <ø> (-0.01%) ⬇️
integration 22.12% <ø> (+<0.01%) ⬆️
rust 34.09% <ø> (ø)
unit 91.82% <ø> (ø)
unit-migrate 91.88% <ø> (-0.03%) ⬇️

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.

Comment thread internal/outpost/proxyv2/refresh.go Resolved
Signed-off-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented Apr 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 78c6c61
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69ce66d8e983ac00087c571c
😎 Deploy Preview https://deploy-preview-21280--authentik-integrations.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

netlify Bot commented Apr 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 78c6c61
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69ce66d81fbae60008b27102
😎 Deploy Preview https://deploy-preview-21280--authentik-storybook.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.

@github-actions

github-actions Bot commented Apr 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-78c6c6161ff5ccb3f235a5e788937ae0820507ed
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-78c6c6161ff5ccb3f235a5e788937ae0820507ed

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

@BeryJu BeryJu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the issue with the embedded outpost

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Apr 2, 2026
@BeryJu
BeryJu marked this pull request as ready for review April 2, 2026 14:00
@BeryJu
BeryJu requested a review from a team as a code owner April 2, 2026 14:00
@BeryJu
BeryJu merged commit 1ceb46c into main Apr 2, 2026
155 of 158 checks passed
@BeryJu
BeryJu deleted the proxy-outpost-fix-token-url branch April 2, 2026 14:50
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Apr 2, 2026
kensternberg-authentik added a commit that referenced this pull request Apr 8, 2026
* main: (26 commits)
  root: fix compose generation for patch releases release candidates (#21353)
  web: bump @swc/cli from 0.8.0 to 0.8.1 in /web in the swc group across 1 directory (#21300)
  providers/proxy: fix oidc client not using socket in embedded outpost (#21280)
  packages/client-rust: fix portable sed usage (#21337)
  packages/ak-common/tokio/proxy_procotol: init (#21311)
  packages/ak-common/config: init (#21256)
  core: bump beryju.io/ldap from 0.1.0 to 0.2.1 (#21235)
  web: bump @sentry/browser from 10.46.0 to 10.47.0 in /web in the sentry group across 1 directory (#21297)
  packages/ak-common/arbiter: init (#21253)
  website/docs: fix full dev setup ordering (#21332)
  core: bump types-docker from 7.1.0.20260328 to 7.1.0.20260402 (#21342)
  packages/ak-common: rename from ak-lib (#21314)
  root: fix rustfmt config (#21312)
  core: bump types-ldap3 from 2.9.13.20260319 to 2.9.13.20260402 (#21343)
  web: bump the bundler group across 1 directory with 4 updates (#21345)
  core: bump aiohttp from 3.13.3 to 3.13.4 (#21333)
  core, web: update translations (#21335)
  lifecycle/aws: bump aws-cdk from 2.1115.1 to 2.1116.0 in /lifecycle/aws (#21338)
  core: bump types-requests from 2.33.0.20260327 to 2.33.0.20260402 (#21339)
  core: bump django-stubs[compatible-mypy] from 6.0.1 to 6.0.2 (#21340)
  ...
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
…goauthentik#21280)

* providers/proxy: fix oidc client not using socket in embedded outpost

Signed-off-by: Marc 'risson' Schmitt <[email protected]>

* cleanup and switch

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens Langhammer <[email protected]>
davepgreene pushed a commit to davepgreene/authentik that referenced this pull request Apr 13, 2026
…goauthentik#21280)

* providers/proxy: fix oidc client not using socket in embedded outpost

Signed-off-by: Marc 'risson' Schmitt <[email protected]>

* cleanup and switch

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens Langhammer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants