Skip to main content

OAuth API for Django using Django Rest Framework

Project description

Django OAuth API

CI

This package provides OAuth API using Django Rest Framework

Installation

$ pip install django-oauth-api

Requirements

License

Simplified BSD License

Credits

Big thank you for the people behind evonove/django-oauth-toolkit! This project is a fork/heavily based on the work done by them.

Changes

0.9.0 [2023-03-01]

Added

  • Support Django 4.1

Updated

  • POSSIBLY BREAKING: Updated oauthlib to 3.2.2
  • Updated DRF minimum version to 3.14.0 (earlier versions also should continue to work)
  • Indexed RefreshToken model token field
  • Changed field type of code in AuthorizationCode and token in AccessToken and RefreshToken models to be TextField, removing the 255 character limitation

0.8.3 [2022-04-04]

Added

  • GitHub Actions integrated

Fixed

  • Missing migration file added

0.8.2 [2022-03-22]

Update

  • setup.py now provides long description

Fixed

  • setup.py contained incorrect classifier

0.8.1 [2022-03-22]

Updated

  • setup.py cleanup

0.8.0 [2022-03-22]

Added

  • Added support for Python 3.10
  • Added support for Django 3.2
  • Added support for Django 4.0

Updated

  • Dropped support for Python 3.7
  • Dropped support for Django 3.1 and earlier versions

0.7.0 [2020-01-30]

  • Update: Added support for Python 3.7 and 3.8
  • Update: Added support for Django 2.2 and 3.0
  • Update: Dropped compatibility with Python 2.x, Django 1.11 and DRF <3.10
  • Update: Removed djangorestframework-xml dependency as redundant

0.6.3 [2018-08-30]

  • Handle request with None body value when verifying requests.
  • Do not generate client ids with leading or trailing spaces as AuthorizationView/FormView strips them away and breaks the flow (and randomly tests too)
  • Removed Django 1.10 support
  • Added Django 2.1 support
  • Fixed Django (master branch) support

0.6.2 [2018-08-21]

  • Specify app_name in urls.py to support namespacing in Django 2

0.6.1 [2018-06-06]

  • Update: Allow overriding of API renderer and parser classes in the settings
  • Update: Modified initial migration file that contained South-era bytestrings in verbose names (only Django cares about them, not the DB)

0.6.0 [2018-04-13]

  • Update: Dropped support for Django <1.11
  • Update: Added support for Python 3.6
  • Update: Added support for Django 2.0
  • Update: Updated to use oauthlib 2.0.7
  • Update: Tidying of the codebase here and there

0.5.3 [2016-09-22]

  • Update: Updated to use oauthlib 1.1.2

0.5.2 [2016-04-05]

  • Update: Application model is now swappable

0.5.1 [2016-02-17]

  • Update: Django 1.9 support added

0.5.0 [2015-09-04]

  • Feature: Token revocation support added
  • Update: Updated to use latest oauthlib 1.0.3
  • Update: Do not assign user to Access Token if Client Credentials grant used
  • Bug: Using public apps with client_id only did not work

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

django-oauth-api-0.9.0.tar.gz (24.3 kB view hashes)

Uploaded Source

Built Distribution

django_oauth_api-0.9.0-py3-none-any.whl (37.9 kB view hashes)

Uploaded Python 3

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