Skip to content

enterprise/providers/scim: add support for interactive OAuth2 (cherry-pick #22072 to version-2026.5) - #22337

Merged
BeryJu merged 1 commit into
version-2026.5from
cherry-pick/22072-to-version-2026.5
May 13, 2026
Merged

BeryJu merged 1 commit into
version-2026.5from
cherry-pick/22072-to-version-2026.5

Conversation

@authentik-automation

Copy link
Copy Markdown
Contributor

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

Original PR: #22072
Original Author: @BeryJu
Cherry-picked commit: a712e5b

* enterprise/providers/scim: add support for interactive OAuth2

Signed-off-by: Jens Langhammer <[email protected]>

* prep different oauth mode

Signed-off-by: Jens Langhammer <[email protected]>

* implement it

Signed-off-by: Jens Langhammer <[email protected]>

* add data to API

Signed-off-by: Jens Langhammer <[email protected]>

* update ui

Signed-off-by: Jens Langhammer <[email protected]>

* fixes

Signed-off-by: Jens Langhammer <[email protected]>

* cleanup

Signed-off-by: Jens Langhammer <[email protected]>

* start adding tests

Signed-off-by: Jens Langhammer <[email protected]>

* add more tests

Signed-off-by: Jens Langhammer <[email protected]>

* remove not-needed migration

Signed-off-by: Jens Langhammer <[email protected]>

* fixup

Signed-off-by: Jens Langhammer <[email protected]>

* fix last_updated not being updated

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented May 13, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit c05afd4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a04a6e051bff700082417a0
😎 Deploy Preview https://deploy-preview-22337--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 May 13, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit c05afd4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a04a6e00b6a0b000778160c
😎 Deploy Preview https://deploy-preview-22337--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 May 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.32258% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.28%. Comparing base (e9b3951) to head (c05afd4).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/enterprise/providers/scim/api.py 72.41% 8 Missing ⚠️
authentik/sources/oauth/views/callback.py 46.15% 7 Missing ⚠️
authentik/enterprise/providers/scim/views.py 88.63% 5 Missing ⚠️
authentik/enterprise/providers/scim/auth_oauth2.py 94.73% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.5   #22337      +/-   ##
==================================================
+ Coverage           93.12%   93.28%   +0.16%     
==================================================
  Files                1028     1032       +4     
  Lines               59888    60051     +163     
  Branches              400      400              
==================================================
+ Hits                55768    56017     +249     
+ Misses               4120     4034      -86     
Flag Coverage Δ
conformance 36.61% <20.27%> (+0.02%) ⬆️
e2e 41.87% <21.65%> (+0.53%) ⬆️
integration 33.04% <20.27%> (-0.03%) ⬇️
rust 0.00% <ø> (ø)
unit 92.20% <90.32%> (+0.02%) ⬆️
unit-migrate 92.24% <90.32%> (+0.02%) ⬆️

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

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

@BeryJu
BeryJu merged commit 5ee261e into version-2026.5 May 13, 2026
103 of 104 checks passed
@BeryJu
BeryJu deleted the cherry-pick/22072-to-version-2026.5 branch May 13, 2026 20:36
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.

1 participant