Skip to content

providers/scim: accept a service provider that reports bulk as unsupported (cherry-pick #25057 to version-2026.8) - #26314

Merged
BeryJu merged 1 commit into
version-2026.8from
cherry-pick/25057-to-version-2026.8
Sep 21, 2026
Merged

BeryJu merged 1 commit into
version-2026.8from
cherry-pick/25057-to-version-2026.8

Conversation

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

Cherry-pick of #25057 to version-2026.8 branch.

Original PR: #25057
Original Author: @YeongT
Cherry-picked commit: 74e1578

…orted (#25057)

* providers/scim: accept a service provider that reports bulk as unsupported

RFC 7644 Section 5 defines the bulk limits alongside bulk support, so a
provider answering `"bulk": {"supported": false}` and nothing else is
conforming. Requiring maxOperations made that response fail validation,
and get_service_provider_config() fell back to a configuration reporting
patch and filter as unsupported no matter what the provider advertised.

The effect shows up far from the parse. SCIMGroupClient.update() takes
its PUT branch instead of PATCH, and SCIMUserClient.create() skips the
409 recovery guarded by filter.supported, so an object that already
exists remotely can never be adopted and the create retries forever.

0 is what ServiceProviderConfiguration.default() already passes, and
_patch_chunked() already reads anything below 1 as no declared limit.

* fix incorrect test

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

---------

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: YEONGCHANG YUN <[email protected]>
Co-authored-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented Sep 21, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 28fc66d
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6ab12cf35c8c930008c498cb
😎 Deploy Preview https://deploy-preview-26314--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.

@netlify

netlify Bot commented Sep 21, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 28fc66d
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6ab12cf32506840008213686
😎 Deploy Preview https://deploy-preview-26314--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 Sep 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.87%. Comparing base (a0c3ed9) to head (28fc66d).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.8   #26314      +/-   ##
==================================================
+ Coverage           91.85%   91.87%   +0.01%     
==================================================
  Files                1161     1161              
  Lines               74866    74874       +8     
  Branches             4056     4056              
==================================================
+ Hits                68769    68791      +22     
+ Misses               6055     6041      -14     
  Partials               42       42              
Flag Coverage Δ
conformance 33.80% <11.11%> (-0.01%) ⬇️
e2e 38.47% <11.11%> (+0.02%) ⬆️
integration 30.46% <11.11%> (-0.01%) ⬇️
rust 42.89% <ø> (ø)
unit 93.42% <100.00%> (+<0.01%) ⬆️
unit-migrate 93.43% <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 Harness.
📢 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-28fc66d864243ec547772de7119dd89aad82a507
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-28fc66d864243ec547772de7119dd89aad82a507

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

@BeryJu
BeryJu merged commit 037fe84 into version-2026.8 Sep 21, 2026
138 checks passed
@BeryJu
BeryJu deleted the cherry-pick/25057-to-version-2026.8 branch September 21, 2026 14:03
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