This release is a pre-release and may not be stable for production use.
django-freeipa-auth
django-freeipa-auth provides a Django backend authentication app for FreeIPA authentication. The app uses FreeIPA JSON API for its operation.
Quick start
- Install using
pip
pip install django-freeipa-auth-json
- Add
freeipatoINSTALLED_APPSin the settings file.
INSTALLED_APPS = [
...
'freeipa',
]
- Add
freeipa.auth.backends.AuthenticationBackendtoAUTHENTICATION_BACKENDSin the settings file.
AUTHENTICATION_BACKENDS = [
...
'freeipa.auth.backends.AuthenticationBackend',
]
- Add following settings to the setting files
# REQUIRED:
IPA_AUTH_SERVER = 'ipa.demo1.freeipa.org'
# OPTIONAL:
IPA_AUTH_SERVER_SSL_VERIFY = True
IPA_AUTH_SERVER_API_VERSION = '2.230'
# Automatically update user information when logged in
IPA_AUTH_AUTO_UPDATE_USER_INFO = True
# Automatically create and update user groups.
IPA_AUTH_UPDATE_USER_GROUPS = True
# Dictionary mapping FreeIPA field to Django user attributes
IPA_AUTH_FIELDS_MAP = { 'givenname': 'first_name',
'sn' : 'last_name',
'mail' : 'email',
}
Command Line
django-freeipa-auth provide syncipa command to import and update users stored in Django database with FreeIPA server.
usage: manage.py syncipa [-h] [-u USER] [-p PASSWD]
Synchronizing data with FreeIPA server
optional arguments:
-h, --help show this help message and exit
login arguments: require a user with permission to query all users (e.g. administrator.)
-u USER, --user USER
-p PASSWD, --passwd PASSWD
Metadata
Release files for django-freeipa-auth-json 0.1.2.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-freeipa-auth-json-0.1.2.dev1.tar.gz | 6.2 kB | Without provenance | Details for django-freeipa-auth-json-0.1.2.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl | Python 3 | none | any | Details for django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl |
Total release size: 15.4 kB
Release files / django-freeipa-auth-json-0.1.2.dev1.tar.gz
| Download URL | django-freeipa-auth-json-0.1.2.dev1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65092acbc39e1fb7c62a4e884f1b94127bfe1f725e4f14bd0e2de62a2fa99305
|
|
BLAKE2b-256 checksum How to use checksums |
2dddfd21b3404b0a79f73e7a285b533b78aff78168889fc8d5efb2972939e8fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|
Release files / django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl
| Download URL | django_freeipa_auth_json-0.1.2.dev1-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad347de5c0e12eda653b403e80a3583c87712941a07dc10a399396178196a56c
|
|
BLAKE2b-256 checksum How to use checksums |
a459f251698f803e50a64066e1e750694e3cf740a810d47bc9fd0faa16958c27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|
Security for django-freeipa-auth-json 0.1.2.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.