Skip to content

!feat(backend): disable basic authentication by default - #13169

Open
matmair wants to merge 14 commits into
inventree:masterfrom
matmair:!feat(backend)--disable-basic-authentication-by-default
Open

matmair wants to merge 14 commits into
inventree:masterfrom
matmair:!feat(backend)--disable-basic-authentication-by-default

Conversation

@matmair

@matmair matmair commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Disables basic auth by default; re-enable via config; even with various fixes basic auth still has issues by design; prefer steering people to OAuth2 or Tokens

@matmair matmair added this to the 2.0.0 milestone Nov 2, 2026
@matmair matmair self-assigned this Nov 2, 2026
@matmair matmair added api Relates to the API breaking Indicates a major update or change which breaks compatibility labels Nov 2, 2026
@netlify

netlify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 157ab0a
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6aef183a86109342207b8168
😎 Deploy Preview https://deploy-preview-13169--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: 94 (🔴 down 1 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.

@codecov

codecov Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.48649% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.09%. Comparing base (da655f2) to head (157ab0a).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13169      +/-   ##
==========================================
- Coverage   87.09%   87.09%   -0.01%     
==========================================
  Files        1569     1569              
  Lines      111755   111789      +34     
  Branches    12150    12150              
==========================================
+ Hits        97335    97361      +26     
- Misses      14356    14364       +8     
  Partials       64       64              
Flag Coverage Δ
backend 91.39% <86.48%> (+<0.01%) ⬆️

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

Components Coverage Δ
Backend Apps 92.90% <85.71%> (-0.01%) ⬇️
Backend General 94.96% <ø> (ø)
Frontend 79.79% <ø> (-0.02%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

SchrodingersGat pushed a commit that referenced this pull request Nov 3, 2026
* fix basic auth without mfa

* refactor order to use new basic auth class

* remove session auth taht would bybpass mfa (mfa thing fixed in another session)

* allign with other PRs

prep for merge with #13169

* fix schema generation
@matmair
matmair marked this pull request as ready for review November 3, 2026 18:32
@SchrodingersGat

Copy link
Copy Markdown
Member

@matmair I am happy with this, obviously we need to get all the tests fixed

@matmair

matmair commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

@SchrodingersGat should we target this for 2.0 or 1.8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API breaking Indicates a major update or change which breaks compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants