Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove django-allauth-2fa, dj-rest-auth and django-user-sessions #6293

Draft
wants to merge 52 commits into
base: master
Choose a base branch
from

Conversation

matmair
Copy link
Member

@matmair matmair commented Jan 19, 2024

This PR remove django-allauth-2fa and replaces it with the inline functions of django-allauth. This reduces the depenecdy footprint and sets us up for further improvements that are planned upstream. Those will reduce the dependency footprint even more and close #4002

Update: Most of the planned things we would be interested in are now implemented and the scope shifted a bit - it makes sense to just ripp all auth extensions out and use only allauths built-in things. We have a lot of grown auth-adjencent code that can probably be removed / rewritten.

Closes #6281

Copy link

netlify bot commented Jan 19, 2024

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

Name Link
🔨 Latest commit 8fad7b1
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/667be908720eb900084e46b8
😎 Deploy Preview https://deploy-preview-6293--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: 100 (no change from production)
Accessibility: 86 (no change from production)
Best Practices: 92 (no change from production)
SEO: 70 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@matmair matmair added dependency Relates to a project dependency security Relates to a security issue breaking Indicates a major update or change which breaks compatibility labels Jan 19, 2024
@matmair matmair self-assigned this Jan 19, 2024
@matmair matmair added this to the 0.14.0 milestone Jan 19, 2024
@matmair matmair modified the milestones: 0.14.0, 0.13.6, 0.15.0 Feb 12, 2024
@matmair matmair modified the milestones: 0.15.0, 0.16.0 Apr 28, 2024
@matmair
Copy link
Member Author

matmair commented Apr 28, 2024

Upstream is not supporting enforced MFA right now - postboning to 0.16.0

@matmair matmair mentioned this pull request Jun 18, 2024
@matmair
Copy link
Member Author

matmair commented Jun 25, 2024

OK MFA enforcing can be build by us and upstreamed but pennersr/django-allauth#3830 is a new blocking

@matmair matmair changed the title Remove django-allauth-2fa Remove django-allauth-2fa, dj-rest-auth and django-user-sessions Jun 25, 2024
@matmair matmair modified the milestones: 0.16.0, 1.0.0 Jun 25, 2024
@matmair
Copy link
Member Author

matmair commented Jun 25, 2024

Site-Note: It seems I always end up ripping out/replacing the features I write

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Indicates a major update or change which breaks compatibility dependency Relates to a project dependency full-run Always do a full QC CI run security Relates to a security issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove django-allauth-2fa [FR] Add passkey as a factor
1 participant