Python Social Authentication, Django integration, Google compliant fork
Project description
Compliant Social App Django
This is a Google compliant fork of the Django component of the python-social-auth ecosystem, it implements the needed functionality to integrate social-auth-core in a Django based project.
Python Social Auth - Django
Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.
Django version
This project will focus on the currently supported Django releases as stated on the Django Project Supported Versions table.
Backward compatibility with unsupported versions won't be enforced.
Documentation
Compliant Social App Django provides three key features required to comply with Google's standards for applications that ask for restricted scopes such as the ability to read gmail inboxes:
- Storing the access and refresh tokens encrypted in the database.
- The encryption of those tokens being backed by KMS.
- Audit logs that register the access to and revocation of those same tokens.
An Audit Logger object must be provided to the app, and must inherit from the abstract base audit logger provided. We also provide an alternative Google backend that uses the audit logger.
KMS must be set up independently, and you must specify a KMS_FIELD_KEY in settings; typically the alias of your KMS key.
If moving to this package from the main social-app-django package the db migrations will also handle the migration of tokens, with encryption, into their appropriate fields.
Core project documentation is available at http://python-social-auth.readthedocs.org/.
Setup
$ pip install compliant-social-app-django
Versioning
This project follows Semantic Versioning 2.0.0.
This fork's versioning will match the major version of the original package version upon which it is based
License
This project follows the BSD license. See the LICENSE for details.
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
Built Distribution
Hashes for compliant-social-app-django-4.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1bb86aeba95ad43b95c9edb78447a9911269ddcda4ed4be1086cf20ef6c4f5 |
|
MD5 | 22a2fe3490dc15bad491ccdb8c087153 |
|
BLAKE2b-256 | 23c48580ef95a17cd7aa07650c82cff57c4729412d8e6bfa42aeb99dcf8bb7bf |
Hashes for compliant_social_app_django-4.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6058aaa173c7d54f41633277d27e18f2e30fd58bd83fb21540b236a3d35ab7c |
|
MD5 | 28de9fb3a9301688a06c56c7f9d99035 |
|
BLAKE2b-256 | 3366c9768aad6232d98a7e50b8585b019fe26ef3ba60c88dd8e18943ef9a2237 |