Skip to content

endpoints: fix infinite recursion in stage with unsupported connector#20485

Merged
BeryJu merged 3 commits intomainfrom
recursion-fix
Feb 24, 2026
Merged

endpoints: fix infinite recursion in stage with unsupported connector#20485
BeryJu merged 3 commits intomainfrom
recursion-fix

Conversation

@PeshekDotDev
Copy link
Contributor

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

@PeshekDotDev PeshekDotDev requested a review from a team as a code owner February 23, 2026 17:37
@BeryJu BeryJu changed the title stages: fix infinite recursion endpoints: fix infinite recursion in stage with unsupported conenctor Feb 23, 2026
@BeryJu BeryJu changed the title endpoints: fix infinite recursion in stage with unsupported conenctor endpoints: fix infinite recursion in stage with unsupported connector Feb 23, 2026
@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit ba2bdcc
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/699c906866e781000883d959
😎 Deploy Preview https://deploy-preview-20485--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.

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

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-0ac29cc8822b4a42eef43da34de2e8398cf81929
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-0ac29cc8822b4a42eef43da34de2e8398cf81929

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

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.30%. Comparing base (72a9a1a) to head (0ac29cc).
⚠️ Report is 11 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20485      +/-   ##
==========================================
+ Coverage   93.29%   93.30%   +0.01%     
==========================================
  Files         981      981              
  Lines       55279    55311      +32     
==========================================
+ Hits        51570    51610      +40     
+ Misses       3709     3701       -8     
Flag Coverage Δ
conformance 37.36% <5.55%> (-0.02%) ⬇️
e2e 43.17% <22.22%> (+0.20%) ⬆️
integration 22.38% <5.55%> (-0.02%) ⬇️
unit 91.51% <100.00%> (+0.01%) ⬆️
unit-migrate 91.55% <100.00%> (+0.02%) ⬆️

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.

@BeryJu BeryJu added area:backend backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 labels Feb 24, 2026
@BeryJu BeryJu added this to the Release 2026.2.0: Required milestone Feb 24, 2026
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 0ac29cc
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/699d80cf0611a20009f174f8
😎 Deploy Preview https://deploy-preview-20485--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
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 0ac29cc
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/699d80cf18d0200008599866
😎 Deploy Preview https://deploy-preview-20485--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.

@BeryJu BeryJu merged commit d2b234c into main Feb 24, 2026
146 of 148 checks passed
@BeryJu BeryJu deleted the recursion-fix branch February 24, 2026 12:01
@BeryJu BeryJu added the backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 label Feb 24, 2026
authentik-automation bot pushed a commit that referenced this pull request Feb 24, 2026
…#20485)

* stages: fix infinite recursion

* respect mode

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
@authentik-automation
Copy link
Contributor

🍒 Cherry-pick to version-2025.12 created: #20513

@authentik-automation
Copy link
Contributor

Cherry-pick to version-2025.12 already exists: #20513

authentik-automation bot pushed a commit that referenced this pull request Feb 24, 2026
…#20485)

* stages: fix infinite recursion

* respect mode

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
@authentik-automation
Copy link
Contributor

🍒 Cherry-pick to version-2026.2 created: #20514

BeryJu added a commit that referenced this pull request Feb 24, 2026
… (cherry-pick #20485 to version-2026.2) (#20514)

endpoints: fix infinite recursion in stage with unsupported connector (#20485)

* stages: fix infinite recursion

* respect mode



* add tests



---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Connor Peshek <connor@connorpeshek.me>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request Feb 24, 2026
… (cherry-pick #20485 to version-2025.12) (#20513)

endpoints: fix infinite recursion in stage with unsupported connector (#20485)

* stages: fix infinite recursion

* respect mode



* add tests



---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Connor Peshek <connor@connorpeshek.me>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request Feb 25, 2026
* main:
  web/flow: Tidy identification stage (#20261)
  website/docs: fix upgrade link in release notes (#20540)
  website/docs: fix upgrade link in `2026.2` release notes (#20539)
  website/docs: update supported versions (#20534)
  website/docs: create draft release notes for `2026.5` (#20529)
  Fix redirect URI in Seafile integration documentation (#20532)
  website/docs: autogenerate release notes (#20527)
  providers/oauth2: add jti claim (#20484)
  providers/oauth2: deactivate locale after testing (#20518)
  policies: fix PolicyEngineMode ALL with static binding optimization (#20430)
  website/docs: fix linux setup docs (#20508)
  web: fix Edit Policy button on Flow view page (#20511)
  endpoints: fix infinite recursion in stage with unsupported connector (#20485)
  enterprise: add `ES384` to enterprise license algorithms (#20507)
  web/flow: fix typo in RedirectStage (#20488)
  website/docs: fix GitHub social-login wording and capitalization (#20489)
  web: bump knip from 5.84.1 to 5.85.0 in /web (#20464)
  website/integrations: standardize resource sections and update template (#20423)
  core, web: bump ajv from 6.12.6 to 6.14.0 in /packages/eslint-config (#20478)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants