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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

Details for the file edx-django-oauth2-provider-1.3.5.tar.gz.

File metadata

  • Download URL: edx-django-oauth2-provider-1.3.5.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.14

File hashes

Hashes for edx-django-oauth2-provider-1.3.5.tar.gz
Algorithm Hash digest
SHA256 2851ffcc140e44ecd9799446617366bf15d3d7d3e276b09f000568d32247a1fb
MD5 3526ce1dd5cdb90b48784f6b0fc77eb1
BLAKE2b-256 35bcdf254a6ce43bea7bd55277928e8f2fd66fe38f18b838460dce8a006e6c77

See more details on using hashes here.

File details

Details for the file edx_django_oauth2_provider-1.3.5-py2-none-any.whl.

File metadata

  • Download URL: edx_django_oauth2_provider-1.3.5-py2-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.14

File hashes

Hashes for edx_django_oauth2_provider-1.3.5-py2-none-any.whl
Algorithm Hash digest
SHA256 b424f5f7b04e25326cf2da7f2fa04c8c3b7093f86d0f82ab7691841833e5242e
MD5 60bb5f0634590b09ec8900a58e6efd48
BLAKE2b-256 80267d09a1ddda353c27cd8259b9dd859e9788080c47d8a568e65b2fa901b441

See more details on using hashes here.

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