Cubicweb-SAML
SAML2 authentifier for cubicweb. This cube allow to authenticate from a SAML2 provider with cubicweb login form.
Installation
The first step is to install cubicweb-saml into your python environment:
pip install cubicweb-saml
To add this cube into your cubicweb instance:
cubicweb-ctl shell <your_app>
>>> add_cube('saml')
>>> exit
To generate SAML related option in all-in-one.conf:
cubicweb-ctl upgrade <your_app>
Configuration
To configure cubicweb-saml metadata, open sources.conf from cubicweb instances folder (by default $HOME/etc/cubicweb.d/<instance>):
[SAML] # SAML v2 metadata uri which can be read from a file (file://<absolute_path>) # or retrieved from a specific URL(http[s]://...) saml-metadata-uri= # The globally unique identifier of the entity. saml-entity-id=
To configure cubicweb-saml options, open all-in-one.conf in the same directory:
[SAML] # Don't verify that the incoming requests originate from us via the built-in # cache for authn request ids in pysaml2 saml-allow-unsolicited=yes # Indicates if the Authentication Requests sent by this SP should be signed by # default. saml-authn-requests-signed=no # Indicates if this entity will sign the Logout Requests originated from it. saml-logout-requests-signed=yes # Indicates if this SP wants the IdP to send the assertions signed. This sets # the WantAssertionsSigned attribute of the SPSSODescriptor node of the # metadata so the IdP will know this SP preference. saml-want-assertions-signed=yes # Indicates that Authentication Responses to this SP must be signed. If set to # True, the SP will not consume any SAML Responses that are not signed. saml-want-response-signed=no # Allow to register a new user # if this one does not exist in current database. saml-register-unknown-user=no # Set the default group to register new user # if the saml-register-unknown-user option was activated. saml-register-default-group=guests # Set the default password system to use if the saml-register-unknown-user # option was activated (available values: empty, random). saml-register-default-password=empty
Metadata
Release files for cubicweb-saml 1.0.1
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 |
|---|---|---|---|---|
| cubicweb-saml-1.0.1.tar.gz | 12.9 kB | Without provenance | Details for cubicweb-saml-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cubicweb_saml-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for cubicweb_saml-1.0.1-py3-none-any.whl |
Total release size: 28.2 kB
Release files / cubicweb-saml-1.0.1.tar.gz
| Download URL | cubicweb-saml-1.0.1.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e3369045898363085cc172f333b522437474ffefd0f886aa1b5319f7e11964f
|
|
BLAKE2b-256 checksum How to use checksums |
a26acdf47315d48bace8cc94861855b6b123fdd74f59337bdf76005506b17b24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / cubicweb_saml-1.0.1-py3-none-any.whl
| Download URL | cubicweb_saml-1.0.1-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d70e50fa1122d6cb47e3509954ccb6b32499abc3cfe42dc5e8ac488546f889eb
|
|
BLAKE2b-256 checksum How to use checksums |
e7d58c15fc96d8b696f1232c3162207e8ef14611a68df8ec265c89d0dd66592c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for cubicweb-saml 1.0.1
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.