A Django app extension of django-oauth-toolkit that implements scope based applications.
Project description
Mad Oauth2
Mad Oauth2 app is an extention of django-oauth-toolkit that implements scopes and schemes in detail
Quick start
-
Add "mad_oaut2" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'oauth2_provider', 'mad_oauth2', ] OAUTH2_PROVIDER_APPLICATION_MODEL="mad_oauth2.Oauth2Application" OAUTH2_PROVIDER = { "SCOPES_BACKEND_CLASS": "mad_oauth2.scopes.ApplicationScopes" }
-
Run
python manage.py migrate
to create mad_oauth2 models.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mad_oauth2-0.1.2.tar.gz
(7.3 kB
view details)
File details
Details for the file mad_oauth2-0.1.2.tar.gz
.
File metadata
- Download URL: mad_oauth2-0.1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f954fa627d83a37e15e913213e1811122a05dfb048bcb373e806a324890a6b21 |
|
MD5 | 44eda44cdd79efb15c720ba92b5c6c75 |
|
BLAKE2b-256 | b5d441b1c15acd1c5c1325028926ea88d891df3e526947ee32783b1f0a8d1a0a |