Skip to main content

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

  1. Add "mad_oaut2" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'mad_oauth2',
        'oauth2_provider',
    ]
    
    OAUTH2_PROVIDER_APPLICATION_MODEL="mad_oauth2.Oauth2Application"
    OAUTH2_PROVIDER = {
        "SCOPES_BACKEND_CLASS": "mad_oauth2.scopes.ApplicationScopes"
    }
    
  2. Run python manage.py migrate to create mad_oauth2 models.

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

mad_oauth2-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file mad_oauth2-0.1.0.tar.gz.

File metadata

  • Download URL: mad_oauth2-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

File hashes

Hashes for mad_oauth2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 658a37dd8bdec03f7c81cf9458658551f01878823f5378af43d5a646d6970e9d
MD5 13a0161b21b5ca33228e5e7f86e3df91
BLAKE2b-256 d0a501efc334923c5ae14925bcb44d08746df4743f4a256eb9f712cea7ccd51b

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