Skip to content

Commit d863c24

Browse files
authored
Merge pull request #129 from snok/v1.5.0
Version 1.5.0
2 parents 37f133d + 05ae804 commit d863c24

File tree

4 files changed

+30
-10
lines changed

4 files changed

+30
-10
lines changed

CHANGELOG.rst

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,34 @@ Changelog
22
=========
33

44

5+
`1.5.0`_ - 2021-01-18
6+
---------------------
7+
8+
**Features**
9+
10+
* New parameter called `LEEWAY_JWT`, allowing you to set a leeway for validating the JWT token. #128
11+
12+
513
`1.4.1`_ - 2021-01-16
614
---------------------
715

8-
**Fixed**
16+
**Fixed**
917

10-
* AADSTS50076 error fixed in #101
18+
* AADSTS50076 error fixed. #101
1119

1220

1321
`1.4.0`_ - 2021-01-16
1422
---------------------
1523

16-
**Features**
24+
**Features**
1725

18-
* Added support for enterprice app SSO certificates #87
19-
* Added setting to disable user creation #96
26+
* Added support for enterprice app SSO certificates. #87
27+
* Added setting to disable user creation. #96
2028

21-
**Fixed**
29+
**Fixed**
2230

23-
* Dependency compatibility for PyJWT 2.0 #120
24-
* Django 4.0 deprecation cleanup
31+
* Dependency compatibility for PyJWT 2.0. #120
32+
* Django 4.0 deprecation cleanup.
2533
* Fixed a bug where IntegrityError could occur if a users groups changed, and multiple requests were done quickly. #95
2634

2735

@@ -211,6 +219,7 @@ Changelog
211219

212220
* Initial release
213221

222+
.. _1.5.0: https://github.com/jobec/django-auth-adfs/compare/1.4.1...1.5.0
214223
.. _1.4.1: https://github.com/jobec/django-auth-adfs/compare/1.4.0...1.4.1
215224
.. _1.4.0: https://github.com/jobec/django-auth-adfs/compare/1.3.1...1.4.0
216225
.. _1.3.1: https://github.com/jobec/django-auth-adfs/compare/1.3.0...1.3.1

django_auth_adfs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
Adding imports here will break setup.py
55
"""
66

7-
__version__ = '1.4.1'
7+
__version__ = '1.5.0'

docs/settings_ref.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,17 @@ in a template instead of the regular ``<a href="{% url 'django_auth_adfs:login'
170170
This does not work with ADFS 3.0 on windows 2012 because this setting requires OpenID Connect
171171
which is not supported on ADFS 3.0
172172

173+
174+
LEEWAY_JWT
175+
-----------
176+
* **Default**: ``0``
177+
* **Type**: ``str``
178+
179+
Allows you to set a leeway of the JWT token. See the official
180+
`PyJWT <https://pyjwt.readthedocs.io/en/stable/usage.html>`__ docs for more information.
181+
182+
183+
173184
GROUP_CLAIM
174185
-----------
175186
Alias of ``GROUPS_CLAIM``

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = 'django-auth-adfs'
3-
version = '1.4.1' # Remember to also change __init__.py version
3+
version = '1.5.0' # Remember to also change __init__.py version
44
description = 'A Django authentication backend for Microsoft ADFS and AzureAD'
55
authors = ['Joris Beckers <joris.beckers@gmail.com>']
66
maintainers = ['Jonas Krüger Svensson <jonas-ks@hotmail.com>', 'Sondre Lillebø Gundersen <sondrelg@live.no>']

0 commit comments

Comments
 (0)