Skip to content

providers/oauth2: decode percent-encoded basic auth (cherry-pick #20779 to version-2026.2)#20781

Merged
BeryJu merged 1 commit intoversion-2026.2from
cherry-pick/20779-to-version-2026.2
Mar 7, 2026
Merged

providers/oauth2: decode percent-encoded basic auth (cherry-pick #20779 to version-2026.2)#20781
BeryJu merged 1 commit intoversion-2026.2from
cherry-pick/20779-to-version-2026.2

Conversation

@authentik-automation
Copy link
Contributor

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

Original PR: #20779
Original Author: @Oluwatobi-Mustapha
Cherry-picked commit: d917fef

Fixes #20739

Decode percent-encoded client credentials from HTTP Basic authentication before provider lookup while preserving existing behavior for raw plus characters. Add unit and endpoint coverage for encoded client IDs and client secrets.
@netlify
Copy link

netlify bot commented Mar 7, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit ceb3660
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69ac5a50142cf20008b702d2
😎 Deploy Preview https://deploy-preview-20781--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
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.36%. Comparing base (41bd9d7) to head (ceb3660).
⚠️ Report is 1 commits behind head on version-2026.2.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@               Coverage Diff               @@
##           version-2026.2   #20781   +/-   ##
===============================================
  Coverage           93.36%   93.36%           
===============================================
  Files                 980      980           
  Lines               54984    55020   +36     
===============================================
+ Hits                51334    51371   +37     
+ Misses               3650     3649    -1     
Flag Coverage Δ
conformance 37.52% <8.10%> (-0.02%) ⬇️
e2e 43.29% <8.10%> (-0.04%) ⬇️
integration 22.40% <2.70%> (-0.02%) ⬇️
unit 91.55% <100.00%> (+<0.01%) ⬆️
unit-migrate 91.60% <100.00%> (+<0.01%) ⬆️

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
Contributor

github-actions bot commented Mar 7, 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-ceb3660db87227a6bde7d2598826791738bf1eec
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-ceb3660db87227a6bde7d2598826791738bf1eec

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

@BeryJu BeryJu merged commit 42c6c25 into version-2026.2 Mar 7, 2026
96 checks passed
@BeryJu BeryJu deleted the cherry-pick/20779-to-version-2026.2 branch March 7, 2026 19:08
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