Skip to content

Commit

Permalink
Merge pull request #129 from snok/v1.5.0
Browse files Browse the repository at this point in the history
Version 1.5.0
  • Loading branch information
JonasKs committed Jan 18, 2021
2 parents 37f133d + 05ae804 commit d863c24
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 10 deletions.
25 changes: 17 additions & 8 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,34 @@ Changelog
=========


`1.5.0`_ - 2021-01-18
---------------------

**Features**

* New parameter called `LEEWAY_JWT`, allowing you to set a leeway for validating the JWT token. #128


`1.4.1`_ - 2021-01-16
---------------------

**Fixed**
**Fixed**

* AADSTS50076 error fixed in #101
* AADSTS50076 error fixed. #101


`1.4.0`_ - 2021-01-16
---------------------

**Features**
**Features**

* Added support for enterprice app SSO certificates #87
* Added setting to disable user creation #96
* Added support for enterprice app SSO certificates. #87
* Added setting to disable user creation. #96

**Fixed**
**Fixed**

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


Expand Down Expand Up @@ -211,6 +219,7 @@ Changelog

* Initial release

.. _1.5.0: https://github.com/jobec/django-auth-adfs/compare/1.4.1...1.5.0
.. _1.4.1: https://github.com/jobec/django-auth-adfs/compare/1.4.0...1.4.1
.. _1.4.0: https://github.com/jobec/django-auth-adfs/compare/1.3.1...1.4.0
.. _1.3.1: https://github.com/jobec/django-auth-adfs/compare/1.3.0...1.3.1
Expand Down
2 changes: 1 addition & 1 deletion django_auth_adfs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
Adding imports here will break setup.py
"""

__version__ = '1.4.1'
__version__ = '1.5.0'
11 changes: 11 additions & 0 deletions docs/settings_ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,17 @@ in a template instead of the regular ``<a href="{% url 'django_auth_adfs:login'
This does not work with ADFS 3.0 on windows 2012 because this setting requires OpenID Connect
which is not supported on ADFS 3.0


LEEWAY_JWT
-----------
* **Default**: ``0``
* **Type**: ``str``

Allows you to set a leeway of the JWT token. See the official
`PyJWT <https://pyjwt.readthedocs.io/en/stable/usage.html>`__ docs for more information.



GROUP_CLAIM
-----------
Alias of ``GROUPS_CLAIM``
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = 'django-auth-adfs'
version = '1.4.1' # Remember to also change __init__.py version
version = '1.5.0' # Remember to also change __init__.py version
description = 'A Django authentication backend for Microsoft ADFS and AzureAD'
authors = ['Joris Beckers <joris.beckers@gmail.com>']
maintainers = ['Jonas Krüger Svensson <jonas-ks@hotmail.com>', 'Sondre Lillebø Gundersen <sondrelg@live.no>']
Expand Down

0 comments on commit d863c24

Please sign in to comment.