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

cleanup 2.0: replace django-saml2-auth with django-saml2-pro-auth or djangosaml2 #3890

Closed
valentijnscholten opened this issue Feb 19, 2021 · 3 comments
Labels
Milestone

Comments

@valentijnscholten
Copy link
Member

valentijnscholten commented Feb 19, 2021

django-saml2-auth is no longer maintained making it a security risk and incompatible with some newer libraries.
For example, it requires PyJWT<2, where other libraries have switched to PyJWT>=2.0.0 (issue)
This prevents us from:
A) doing a clean install from requirements needing the legacy resolver which will be removed later this year (Q1?)
B) locking out dependencies with pipenv
C) upgrading to django 3+ or even 2.2+ (already at risk using django 2.2)
D) using python 3.6 or higher (we are already at risk using 3.6)

The replacement seems to be django-saml2-pro-auth

Or we could use djangosaml2 which is mentioned in our README.md

@valentijnscholten valentijnscholten changed the title replace django-saml2 with django-saml2-auth replace django-saml2-auth with django-saml2-pro-auth Feb 19, 2021
@valentijnscholten valentijnscholten changed the title replace django-saml2-auth with django-saml2-pro-auth replace django-saml2-auth with django-saml2-pro-auth or djangosaml2 Feb 19, 2021
@peppelinux
Copy link

I suggest djangosaml2 😄

alles-klar added a commit to alles-klar/django-DefectDojo that referenced this issue Apr 14, 2021
Issue: DefectDojo#3890
Only the first changes.

On behalf of DB Systel GmbH
@valentijnscholten valentijnscholten added this to the 2.0.0 milestone Apr 20, 2021
@valentijnscholten valentijnscholten changed the title replace django-saml2-auth with django-saml2-pro-auth or djangosaml2 cleanup 2.0: replace django-saml2-auth with django-saml2-pro-auth or djangosaml2 Apr 26, 2021
@quaffapint
Copy link

Could I ask whether this will still be part of 2.0.0 and what the rough planned release date is for that? We are unable to get our old ADFS system working with the current SAML plugin and we're hoping djangosaml2 will work for us.

@damiencarol
Copy link
Contributor

@quaffapint we pinned this modification for 2.0.0which will be release at the end of the month.

Maffooch added a commit that referenced this issue Jun 26, 2021
* feat: replace django-saml2-auth with djangosaml2

Issue: #3890
Only the first changes.

On behalf of DB Systel GmbH

* feat: refactor saml2 settings

* feat: refactor saml2 settings

* feat: refactor saml2 settings

* docs(saml): migration to djangosaml2

* fix: flake8 error

* docs(upgrading): add saml2 part to upgrading documentation

* Update settings.dist.py

Co-authored-by: valentijnscholten <[email protected]>
Co-authored-by: Cody Maffucci <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants