Django OAuth API
This package provides OAuth API using Django Rest Framework
Installation
$ pip install django-oauth-api
Requirements
- Python 3.8, 3.9 or 3.10
- Django 3.2 or later
- Django Rest Framework 3.14 or later
- OAuthLib 3.2.2
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
- This causes certain operations to return HTTP 400 instead of 401, check https://github.com/oauthlib/oauthlib/blob/master/CHANGELOG.rst#300-2019-01-01
- Updated DRF minimum version to 3.14.0 (earlier versions also should continue to work)
- Indexed RefreshToken model
tokenfield - Changed field type of
codein AuthorizationCode andtokenin 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.pynow provides long description
Fixed
setup.pycontained incorrect classifier
0.8.1 [2022-03-22]
Updated
setup.pycleanup
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-xmldependency as redundant
0.6.3 [2018-08-30]
- Handle request with
Nonebody value when verifying requests. - Do not generate client ids with leading or trailing spaces as
AuthorizationView/FormViewstrips 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_nameinurls.pyto 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
Release files for django-oauth-api 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-oauth-api-0.9.0.tar.gz | 24.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_oauth_api-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.2 kB
Release files / django-oauth-api-0.9.0.tar.gz
| Download URL | django-oauth-api-0.9.0.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0a4a9fe44b752e49565fc071bdd5d55317d1326a1844ab52888f4f5bd4f4a5d
|
|
BLAKE2b-256 checksum How to use checksums |
81f49a3596dd7b0e6703d484c75016583dc59749940752d1bd2787fd648558e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.9
|
Release files / django_oauth_api-0.9.0-py3-none-any.whl
| Download URL | django_oauth_api-0.9.0-py3-none-any.whl |
|---|---|
| Size | 37.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0ede97e487fa2d9d27337da5efb1d38716c78640a6debc86e25c706ceb7dbc5
|
|
BLAKE2b-256 checksum How to use checksums |
00c3a2f28bfdc66c131a20d3cbcb77df3134e88e36aff0b059cb589b38565b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.9
|