Skip to content

feat(backend): add SCIM for user provisioning - #12713

Merged
SchrodingersGat merged 17 commits into
inventree:masterfrom
matmair:feat(backend)--add-scim
Aug 30, 2026
Merged

SchrodingersGat merged 17 commits into
inventree:masterfrom
matmair:feat(backend)--add-scim

Conversation

@matmair

@matmair matmair commented Aug 25, 2026 •

Copy link
Copy Markdown
Member

Adds basic SCIM for user/group provisioning based upon python-scim2

Closes #6339
Ref #12714

@netlify

netlify Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 21116f9
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a93fdc2bf5aa9000836911c
😎 Deploy Preview https://deploy-preview-12713--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 92 (🔴 down 3 from production)
Accessibility: 82 (no change from production)
Best Practices: 92 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@matmair
matmair marked this pull request as draft August 25, 2026 10:47
@codecov

codecov Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.78%. Comparing base (c821fa0) to head (21116f9).
⚠️ Report is 1 commits behind head on master.

❌ Your project status has failed because the head coverage (91.88%) is below the target coverage (92.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12713      +/-   ##
==========================================
- Coverage   86.89%   86.78%   -0.12%     
==========================================
  Files        1462     1472      +10     
  Lines       98171    99194    +1023     
  Branches    11485    11337     -148     
==========================================
+ Hits        85304    86081     +777     
- Misses      12802    13047     +245     
- Partials       65       66       +1     
Flag Coverage Δ
backend 91.02% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.88% <100.00%> (-0.34%) ⬇️
Backend General 93.79% <100.00%> (+<0.01%) ⬆️
Frontend 79.63% <100.00%> (-0.15%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matmair matmair added this to the 1.6.0 milestone Aug 26, 2026
@matmair matmair added security Relates to a security issue setup Relates to the InvenTree setup / installation process labels Aug 26, 2026
@matmair

matmair commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

Testes against scim.dev; cant get microsofts validator to run

@matmair
matmair marked this pull request as ready for review August 27, 2026 22:03
@matmair matmair changed the title Add SCIM feat(backend): add SCIM for SSO login Aug 28, 2026
@matmair matmair changed the title feat(backend): add SCIM for SSO login feat(backend): add SCIM for user provisioning Aug 28, 2026
@matmair matmair closed this Aug 28, 2026
@matmair matmair reopened this Aug 28, 2026
@SchrodingersGat

Copy link
Copy Markdown
Member

What are your thoughts on implementing / distributing this as a plugin? I would not imagine that the majority of InvenTree users would require this?

@matmair

matmair commented Aug 29, 2026

Copy link
Copy Markdown
Member Author

we are shipping ldap too so there is precedence

@SchrodingersGat

Copy link
Copy Markdown
Member

we are shipping ldap too so there is precedence

I am happy with this as long as you are able to provide support for this feature - I don't understand it

@SchrodingersGat

Copy link
Copy Markdown
Member

Please add a CHANGELOG.md entry for this

@matmair

matmair commented Aug 30, 2026

Copy link
Copy Markdown
Member Author

you are able to provide support for this feature - I don't understand it

I can do that

Please add a CHANGELOG.md entry for this

Done

@SchrodingersGat
SchrodingersGat merged commit 4066fa6 into inventree:master Aug 30, 2026
54 of 56 checks passed
@SchrodingersGat
SchrodingersGat deleted the feat(backend)--add-scim branch August 30, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature security Relates to a security issue setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR] Support for SCIM

2 participants