Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

edx/django-oauth2-provider

 
 

Repository files navigation

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.

About

Provide OAuth2 access to your app

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.7%
  • HTML 1.1%
  • Makefile 0.2%