Skip to main content

edX fork of django-oauth2-provider

Project description

django-oauth2-provider

https://travis-ci.org/edx/django-oauth2-provider.svg?branch=edx http://codecov.io/github/edx/django-oauth2-provider/coverage.svg?branch=edx

This is an edX-customized fork of django-oauth2-provider, a Django application that provides customizable OAuth2-authentication for your Django projects.

Documentation

Help

Release Notes

1.3.5

  • Add support for Django 2.0 and Python 3.7

  • Drop support for Django < 1.11

1.3.4

  • Have the delete management commands only scan from the smallest expired token to the max expired token.

  • While deleting, only examine chunk_size rows for expired rows to delete.

  • Fix warnings about using a datetime without a timezone in the delete management command.

1.3.3

  • Have delete management commands handle 0 tokens to delete cases

  • Stop testing on Django < 1.11

1.3.2

  • Fixed a compatibility issue with migrations and Python 3

1.3.1

  • Added support for storing settings.SECRET_KEY as bytes.

  • Added python_2_unicode_compatible decorator to models.

1.3.0

  • Added Python 3 support.

1.2.5

  • Added management command to delete expired OAuth2 access and refresh tokens.

1.2.4

  • More management command MySQL compatibility updates.

1.2.3

  • Update management command to be MySQL 5.6 compatible, use ORM for deletions.

1.2.2

  • Add management command to delete expired OAuth2 grant tokens.

1.2.1

  • Add Django 1.10/1.11 support.

1.2.0

  • Add ‘nonce’ to OAuth2 grant tokens model.

1.0.2

This release contains a backward incompatible change:

  • Foreign key reverse names have been specified, so this library can be installed alongside django-oauth-toolkit. Code that traverses from the User model to django-oauth2-provider models will need to update the related name used.

    >>> user.access_token
    >>> user.grant
    >>> user.refresh_token
    

    becomes:

    >>> user.dop_access_token
    >>> user.dop_grant
    >>> user.dop_refresh_token
    

License

django-oauth2-provider is released under the MIT License. Please see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edx-django-oauth2-provider-1.3.5.tar.gz (31.3 kB view hashes)

Uploaded Source

Built Distribution

edx_django_oauth2_provider-1.3.5-py2-none-any.whl (39.6 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page