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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django-oauth-api-0.9.0.tar.gz.

File metadata

  • Download URL: django-oauth-api-0.9.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.9

File hashes

Hashes for django-oauth-api-0.9.0.tar.gz
Algorithm Hash digest
SHA256 b0a4a9fe44b752e49565fc071bdd5d55317d1326a1844ab52888f4f5bd4f4a5d
MD5 42e142e49eff49620371b76f4a031b32
BLAKE2b-256 81f49a3596dd7b0e6703d484c75016583dc59749940752d1bd2787fd648558e9

See more details on using hashes here.

File details

Details for the file django_oauth_api-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_oauth_api-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ede97e487fa2d9d27337da5efb1d38716c78640a6debc86e25c706ceb7dbc5
MD5 5a5829df45d1d9cc1067a112de650352
BLAKE2b-256 00c3a2f28bfdc66c131a20d3cbcb77df3134e88e36aff0b059cb589b38565b06

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