This project has been archived by its maintainers, and is no longer receiving any updates.
django-allauth-id4me
Extension library for django-allauth to support ID4me (https://id4me.org) as social login provider.
Specification reference
https://gitlab.com/ID4me/documentation/blob/master/id4ME%20Technical%20Specification.adoc
- Version: 1.0
- Revision: 02
Installation
Install the package from pip
pip install django-allauth-id4me
Configure django-allauth if not yet installed
Configure django project
Add allauth_id4me to INSTALLED_APPS in your settings.py:
INSTALLED_APPS = (
...
# ... include the providers you want to enable:
'allauth_id4me',
...
)
Run migrations in your django project
python manage.py migrate
Add social client configuration
Start your django project
python.exe manage.py runserver localhost:8000
Open /admin application http://localhost:8000/admin/
Go to Home › Social Accounts › Social applications and add new application:
- Provider: ID4me
- Name: the name of your application (will appear on login screen)
- Client id: wished client_id, may however not be respected
- Secret key: not used, fill with dummy value
Open http://localhost:8000/accounts/login/ and test the login with ID4me!
Template customization
To present own ID4me login page it is enough to place new template in id4me folder inside your templates
dictionary named login.html. Minimum required content:
<form id="id4me_login_form" class="id4me_login" method="post" action="{% url 'id4me_login' %}">
{% csrf_token %}
{{form.as_p}}
<button type="submit">Sign In</button>
</form>
CHANGELOG:
| version | date | changes |
|---|---|---|
| 0.0.13 | 2019-03-05 | - IMPROVEMENT: setting always state for increased compatibility |
| 0.0.12 | 2019-03-05 | - NEW FEATURE: input field to set cookie and remember ID |
| 0.0.11 | 2019-02-27 | - BUGFIX: Client registration updated when re-registered |
Metadata
Release files for django-allauth-id4me 0.0.13
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-allauth-id4me-0.0.13.tar.gz | 9.8 kB | Without provenance | Details for django-allauth-id4me-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_allauth_id4me-0.0.13-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for django_allauth_id4me-0.0.13-py2.py3-none-any.whl |
Total release size: 21.1 kB
Release files / django-allauth-id4me-0.0.13.tar.gz
| Download URL | django-allauth-id4me-0.0.13.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
904b2f194b13b741a97424233bdbea74a0b292e45a72b61c65212a687538a779
|
|
BLAKE2b-256 checksum How to use checksums |
c65fa263e3d0bf62a94fa8968df73b9fd1640f70a196154922a8339c44b5a065
|
| 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.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / django_allauth_id4me-0.0.13-py2.py3-none-any.whl
| Download URL | django_allauth_id4me-0.0.13-py2.py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
85b1df95fcc8066b10717d26f8c8e51d59b3264d4a34240eb638bb86d669cb34
|
|
BLAKE2b-256 checksum How to use checksums |
06fc080bfb08d304d2b2dfdbb2c3a506e2eeee770ac4431567c23a424781ff5b
|
| 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.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for django-allauth-id4me 0.0.13
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.