Skip to content

Token issuance updates - #13214

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:token-mfa-reauth
Nov 7, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:token-mfa-reauth

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

This PR adds checks to ensure that all API endpoints for issuing user tokens are explicitly checked against MFA requirements, and covered with appropriate regression tests

  • Ensure all token issuance endpoints are explicitly checked for MFA auth
  • Additional backend unit tests
  • Additional frontend unit tests

- Ensure all token issuance endpoints are explicitly checked for MFA auth
- Additional backend unit tests
- Additional frontend unit tests
@SchrodingersGat SchrodingersGat added this to the 1.8.0 milestone Nov 7, 2026
@SchrodingersGat SchrodingersGat added api Relates to the API security Relates to a security issue backport Apply this label to a PR to enable auto-backport action backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch labels Nov 7, 2026
@netlify

netlify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 025dce0
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6aee783f1a3566feaed9bcb6
😎 Deploy Preview https://deploy-preview-13214--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 (no change 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.

Comment thread src/frontend/tests/pui_login.spec.ts Resolved
@codecov

codecov Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.08%. Comparing base (08dad19) to head (025dce0).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13214      +/-   ##
==========================================
+ Coverage   87.03%   87.08%   +0.04%     
==========================================
  Files        1568     1568              
  Lines      111515   111472      -43     
  Branches    12137    12122      -15     
==========================================
+ Hits        97057    97070      +13     
+ Misses      14392    14336      -56     
  Partials       66       66              
Flag Coverage Δ
backend 91.37% <100.00%> (+0.01%) ⬆️

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

Components Coverage Δ
Backend Apps 92.89% <100.00%> (+<0.01%) ⬆️
Backend General 94.93% <ø> (ø)
Frontend 79.77% <ø> (+0.08%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 02d6a03 into inventree:master Nov 7, 2026
56 checks passed
@SchrodingersGat
SchrodingersGat deleted the token-mfa-reauth branch November 7, 2026 02:18
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.7.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Nov 7, 2026
- Ensure all token issuance endpoints are explicitly checked for MFA auth
- Additional backend unit tests
- Additional frontend unit tests

(cherry picked from commit 02d6a03)

Co-authored-by: Oliver <[email protected]>
@SchrodingersGat

Copy link
Copy Markdown
Member Author

Credit to @AriefIndrawan for responsibly reporting the underlying issues here

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

Labels

api Relates to the API backport Apply this label to a PR to enable auto-backport action backport-to-1.7.x Apply this label to backport a PR to the 1.7.x branch security Relates to a security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants