Skip to content

Releases: ByteInternet/drf-oidc-auth

Dropped python3.4 support, added AuthenticationTestCaseMixin and configurable user endpoint

13 Apr 09:01
0a84995
Compare
Choose a tag to compare

Dropped python3.4 support since it is end of life and tests failed for it

Add a AuthenticationTestCaseMixin which allows you to better integration test authentication/tokens in your tests. See the README for more information.

Add configurable user endpoint for cases where you can't find the user endpoint with the OpenID connect metadata endpoint. Will still show an error if the provided endpoint could not be found (and not metadata endpoint).

Replace jwkest with authlib

20 Nov 15:48
79ecbbf
Compare
Choose a tag to compare

Replace the deprecated jwkest library with the maintained authlib library. Note that this is not backwards compatible, but this might not be immediately obvious. You have to adjust your settings, i.e. OIDC_AUDIENCES is deprecated and replaced by:

'OIDC_CLAIMS_OPTIONS': {
    'aud': {
        'values': ['my_audience'],
        'essential': True,
    }
}

Please note the addition of essential: True in this dict. If you leave this out it will mean that any audience will have access to your API. This is probably not what you want, so please make sure you add this to your settings if you're coming from a previous version.

Also note that cryptography needs to be a least version 2.6 to work with the new authlib library.

0.10.0: Merge pull request #33 from alexsdutton/django-cache

30 Apr 09:46
68a9624
Compare
Choose a tag to compare
 Use the built-in Django cache instead of a bespoke one

0.8

27 Oct 11:10
Compare
Choose a tag to compare
0.8
Bump version to 0.8

0.7

23 Oct 13:24
Compare
Choose a tag to compare
0.7
Bump version

0.6

08 Oct 15:19
Compare
Choose a tag to compare
0.6
Bump version to 0.6