Skip to content

providers/scim show remote error details for 4xx/5xx responses - #26906

Merged
melizeche merged 5 commits into
mainfrom
fix/aws_scim
Oct 14, 2026
Merged

melizeche merged 5 commits into
mainfrom
fix/aws_scim

Conversation

@melizeche

Copy link
Copy Markdown
Member

SCIMRequestException.detail() used if not self._response:, but a requests.Response evaluates as false for 4xx/5xx. Remote SCIM errors (like AWS IAM Identity Center rejecting an empty givenName) were hidden behind "Network error communicating with remote system".
The check is now is None

@melizeche
melizeche requested a review from a team as a code owner October 14, 2026 15:18
@netlify

netlify Bot commented Oct 14, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

@BeryJu BeryJu added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Oct 14, 2026
@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.20%. Comparing base (73d260e) to head (13b6f7a).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/providers/scim/clients/exceptions.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #26906      +/-   ##
==========================================
- Coverage   92.23%   92.20%   -0.03%     
==========================================
  Files        1181     1181              
  Lines       78973    78973              
  Branches     4351     4351              
==========================================
- Hits        72839    72818      -21     
- Misses       6068     6089      +21     
  Partials       66       66              
Flag Coverage Δ
conformance 32.60% <0.00%> (+<0.01%) ⬆️
e2e 37.34% <0.00%> (+<0.01%) ⬆️
integration 28.95% <0.00%> (-0.49%) ⬇️
rust 44.42% <ø> (ø)
unit 93.90% <66.66%> (+<0.01%) ⬆️
unit-migrate 93.90% <66.66%> (+<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

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 38614362577 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-13b6f7ac878b59760ff0b30fb3b15083b247850d
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-13b6f7ac878b59760ff0b30fb3b15083b247850d

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

@melizeche melizeche self-assigned this Oct 14, 2026
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Oct 14, 2026
@melizeche
melizeche enabled auto-merge (squash) October 14, 2026 18:21
@melizeche
melizeche merged commit aa18b9a into main Oct 14, 2026
145 of 146 checks passed
@melizeche
melizeche deleted the fix/aws_scim branch October 14, 2026 19:01
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Oct 14, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #26931

BeryJu added a commit that referenced this pull request Oct 14, 2026
…ry-pick #26906 to version-2026.8) (#26931)

providers/scim show remote error details for 4xx/5xx responses (#26906)

* show remote error details for 4xx/5xx responses

* fall back to default message for empty error bodies

---------

Co-authored-by: Marcelo Elizeche Landó <[email protected]>
Co-authored-by: Jens L. <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants