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

[DONE] Fix authentication in Django 2.1 #76

Merged
merged 1 commit into from
Nov 1, 2018
Merged

Conversation

byrman
Copy link
Member

@byrman byrman commented Nov 1, 2018

In function django.contrib.auth.__init__.authenticate the signature of the authenticate method of the various authentication backends is inspected. Django 2.1 silently skips backends that do not comply! Our custom SSOBackend is used across different versions of Django, so it is very important to have the signature right.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 74.257% when pulling 79e7b19 on byrman_authenticate into 1261861 on master.

@byrman byrman requested a review from reinout November 1, 2018 13:49
@reinout reinout merged commit 23164ec into master Nov 1, 2018
@reinout reinout deleted the byrman_authenticate branch November 1, 2018 15:11
@reinout
Copy link
Contributor

reinout commented Nov 1, 2018

Wat mij betreft mag je 'em releasen.

@reinout
Copy link
Contributor

reinout commented Nov 2, 2018

Ter info: ik ben naar Django aan het kijken hoe het zit qua (ontbrekende) deprecation messages.
Het relevante ticket is https://code.djangoproject.com/ticket/25187 .

@reinout
Copy link
Contributor

reinout commented Nov 2, 2018

Het bleek toch te kloppen. In 1.8 zat de deprecation waarschuwing niet, maar in 1.11 wel. Dus... django heeft het prima gedaan. Wij hebben zelf niet opgelet :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants