Skip to content

providers/ldap: remove incorrect validation for code authenticator extraction - #23006

Merged
BeryJu merged 3 commits into
mainfrom
providers/ldap/allow-any-totp-code-length
Jul 6, 2026
Merged

BeryJu merged 3 commits into
mainfrom
providers/ldap/allow-any-totp-code-length

Conversation

@BeryJu

@BeryJu BeryJu commented Jun 11, 2026

Copy link
Copy Markdown
Member

closes #22814

@BeryJu BeryJu added the backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 label Jun 11, 2026
@BeryJu
BeryJu requested a review from a team as a code owner June 11, 2026 16:28
@BeryJu BeryJu added the backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 label Jun 11, 2026
@codecov

codecov Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.19%. Comparing base (63d7b6a) to head (eb9661a).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23006      +/-   ##
==========================================
- Coverage   93.23%   93.19%   -0.05%     
==========================================
  Files        1041     1041              
  Lines       60937    60937              
  Branches      424      424              
==========================================
- Hits        56816    56789      -27     
- Misses       4121     4148      +27     
Flag Coverage Δ
conformance 36.34% <ø> (+<0.01%) ⬆️
e2e 41.54% <ø> (+<0.01%) ⬆️
integration 32.25% <ø> (-0.50%) ⬇️
rust 0.00% <ø> (ø)
unit 92.30% <ø> (ø)
unit-migrate 92.33% <ø> (-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.

@BeryJu
BeryJu force-pushed the providers/ldap/allow-any-totp-code-length branch from 10bee8a to 35a321c Compare June 11, 2026 16:38
@netlify

netlify Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

netlify Bot commented Jun 11, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 10bee8a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a2aea20ac870400084b2e09
😎 Deploy Preview https://deploy-preview-23006--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.

@github-actions

github-actions Bot commented Jun 11, 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-eb9661a2d3ba9285481d7fea136e979dc2eddf71
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-eb9661a2d3ba9285481d7fea136e979dc2eddf71

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

@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 1ee6bdf
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a4b9d0fcc4b800008415838
😎 Deploy Preview https://deploy-preview-23006--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.

Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu merged commit 92982cc into main Jul 6, 2026
109 checks passed
@BeryJu
BeryJu deleted the providers/ldap/allow-any-totp-code-length branch July 6, 2026 13:01
@authentik-automation

Copy link
Copy Markdown
Contributor

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

@authentik-automation

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.5 created: #23767

BeryJu added a commit that referenced this pull request Jul 6, 2026
…traction (cherry-pick #23006 to version-2026.2) (#23766)

providers/ldap: remove incorrect validation for code authenticator extraction (#23006)

* providers/ldap: remove incorrect validation for code authenticator extraction



* fix tests



---------

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
Co-authored-by: Marc 'risson' Schmitt <[email protected]>
BeryJu added a commit that referenced this pull request Jul 6, 2026
…traction (cherry-pick #23006 to version-2026.5) (#23767)

providers/ldap: remove incorrect validation for code authenticator extraction (#23006)

* providers/ldap: remove incorrect validation for code authenticator extraction



* fix tests



---------

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[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

backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LDAP Outpost doesn't correctly extract OTP static tokens

3 participants