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.3.tar.gz
(7.3 kB
view details)
File details
Details for the file mad_oauth2-0.1.3.tar.gz
.
File metadata
- Download URL: mad_oauth2-0.1.3.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 | 0532fb57e5e05993e3d0e9c8820b25ecab925d0d3986a242a1538062e7362eae |
|
MD5 | 7e5661b59c377c865afcb6df8c57fa19 |
|
BLAKE2b-256 | ec2c4ceba80a3361c84daa71d9def46bf3e6582ba13dca5d2b4f969a5280bc2f |