Skip to content

providers/oauth2: enforce VSCHAR for client_id and client_secret - #23760

Merged
BeryJu merged 2 commits into
mainfrom
providers/oauth2/force-ascii-client-secret
Jul 6, 2026
Merged

BeryJu merged 2 commits into
mainfrom
providers/oauth2/force-ascii-client-secret

Conversation

@BeryJu

@BeryJu BeryJu commented Jul 6, 2026

Copy link
Copy Markdown
Member

closes #23681

we were already kinda requiring this by using compare_digest which only supports ASCII characters, however this adds full validation to the serializer & token endpoint

@BeryJu
BeryJu requested a review from a team as a code owner July 6, 2026 11:22
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit c5c6c34
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a4b9003e0baa40008051c71
😎 Deploy Preview https://deploy-preview-23760--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 added 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 labels Jul 6, 2026
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit c5c6c34
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a4b90031ae01c0008c27ac5
😎 Deploy Preview https://deploy-preview-23760--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 Jul 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.23%. Comparing base (dbbd593) to head (f735216).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23760      +/-   ##
==========================================
+ Coverage   93.21%   93.23%   +0.02%     
==========================================
  Files        1039     1041       +2     
  Lines       60868    60937      +69     
  Branches      424      424              
==========================================
+ Hits        56740    56817      +77     
+ Misses       4128     4120       -8     
Flag Coverage Δ
conformance 36.34% <41.37%> (+0.04%) ⬆️
e2e 41.54% <27.58%> (+0.02%) ⬆️
integration 32.75% <20.68%> (+0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.30% <93.10%> (+<0.01%) ⬆️
unit-migrate 92.33% <93.10%> (+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.

Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu requested review from a team as code owners July 6, 2026 11:34
@github-actions

github-actions Bot commented Jul 6, 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-f7352164168d58a2c69bf78ad17fe636e4925cb0
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-f7352164168d58a2c69bf78ad17fe636e4925cb0

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

@BeryJu
BeryJu merged commit 79fdcac into main Jul 6, 2026
110 checks passed
@BeryJu
BeryJu deleted the providers/oauth2/force-ascii-client-secret branch July 6, 2026 12:04
@authentik-automation

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.2 has conflicts: #23763

@authentik-automation

Copy link
Copy Markdown
Contributor

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

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.

OIDC auth issue trying to set up with Hashicorp vault on token endpoint

2 participants