Skip to content

providers/oauth: Properly return error via post and for request objects (cherry-pick #23037 to version-2026.5) - #23529

Merged
PeshekDotDev merged 3 commits into
version-2026.5from
cherry-pick/23037-to-version-2026.5
Jul 1, 2026
Merged

PeshekDotDev merged 3 commits into
version-2026.5from
cherry-pick/23037-to-version-2026.5

Conversation

@authentik-automation

Copy link
Copy Markdown
Contributor

Cherry-pick of #23037 to version-2026.5 branch.

Original PR: #23037
Original Author: @PeshekDotDev
Cherry-picked commit: 02c136a

@netlify

netlify Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

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

@codecov

codecov Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.81818% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.26%. Comparing base (f303a12) to head (5153cfb).
⚠️ Report is 1 commits behind head on version-2026.5.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/providers/oauth2/errors.py 54.54% 5 Missing ⚠️
authentik/providers/oauth2/views/authorize.py 90.90% 3 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.5   #23529      +/-   ##
==================================================
- Coverage           93.28%   93.26%   -0.02%     
==================================================
  Files                1037     1037              
  Lines               60395    60419      +24     
  Branches              400      400              
==================================================
+ Hits                56340    56352      +12     
- Misses               4055     4067      +12     
Flag Coverage Δ
conformance 36.45% <75.00%> (+0.01%) ⬆️
e2e 41.65% <36.36%> (-0.02%) ⬇️
integration 32.87% <15.90%> (-0.01%) ⬇️
rust 0.00% <ø> (ø)
unit 92.20% <61.36%> (-0.02%) ⬇️
unit-migrate 92.23% <61.36%> (-0.02%) ⬇️

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.

@github-actions

github-actions Bot commented Jun 29, 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-5153cfbb5d772ce575e731add17f4a9aa7889ccc
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-5153cfbb5d772ce575e731add17f4a9aa7889ccc

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

@netlify

netlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

@PeshekDotDev
PeshekDotDev merged commit ffade1f into version-2026.5 Jul 1, 2026
213 of 218 checks passed
@PeshekDotDev
PeshekDotDev deleted the cherry-pick/23037-to-version-2026.5 branch July 1, 2026 14:24
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