Skip to content

enterprise: monkey patch pyjwt to accept mismatching key (cherry-pick #20402 to version-2026.2) - #20474

Merged
gergosimonyi merged 1 commit into
version-2026.2from
cherry-pick/20402-to-version-2026.2
Feb 23, 2026
Merged

gergosimonyi merged 1 commit into
version-2026.2from
cherry-pick/20402-to-version-2026.2

Conversation

@authentik-automation

Copy link
Copy Markdown
Contributor

Cherry-pick of #20402 to version-2026.2 branch.

Original PR: #20402
Original Author: @gergosimonyi
Cherry-picked commit: 52e2460

* monkey patch pyjwt to accept mismatching key

* restore `_validate_curve` after monkeypatch

* add explanatory comment

* next year is 2027, dummy
@netlify

netlify Bot commented Feb 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit e81f649
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/699c5c9e063cd500081058ff
😎 Deploy Preview https://deploy-preview-20474--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 Feb 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit e81f649
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/699c5c9e46d89800085a6017
😎 Deploy Preview https://deploy-preview-20474--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 Feb 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.27%. Comparing base (e367525) to head (e81f649).
⚠️ Report is 1 commits behind head on version-2026.2.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/enterprise/license.py 25.00% 3 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.2   #20474      +/-   ##
==================================================
+ Coverage           93.20%   93.27%   +0.06%     
==================================================
  Files                 978      978              
  Lines               54607    54611       +4     
==================================================
+ Hits                50899    50938      +39     
+ Misses               3708     3673      -35     
Flag Coverage Δ
conformance 37.73% <25.00%> (+<0.01%) ⬆️
e2e 43.60% <25.00%> (+0.42%) ⬆️
integration 22.55% <25.00%> (+<0.01%) ⬆️
unit 91.48% <25.00%> (-0.01%) ⬇️
unit-migrate 91.48% <25.00%> (-0.05%) ⬇️

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.

@github-actions

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-e81f649e823e706b76ac98943c7cb667252d068d
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-e81f649e823e706b76ac98943c7cb667252d068d

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

@gergosimonyi
gergosimonyi merged commit 0290ed3 into version-2026.2 Feb 23, 2026
92 of 93 checks passed
@gergosimonyi
gergosimonyi deleted the cherry-pick/20402-to-version-2026.2 branch February 23, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants