scalio-identity
Identity helpers shared by the Scalio apps Nexus, Citadel, Rosetta and Foundry. Decisions: scalio-docs ADR 0028
(idm/I1–I12), concept concepts/central-user-management.md. Protocol of the broker: scalio-docs
interfaces/scalio-id-oidc.md.
pip install "scalio-identity[mfa]" # app
pip install "scalio-identity[mfa,testing]" # app tests
| Module | What it does |
|---|---|
scalio_identity.broker |
Sign-in through Scalio ID: Broker.from_env(), Flow.new(), authorize_url(), redeem() → Identity; check_binding() refuses another organisation (SCALIO_ORG_ID) or tenant |
scalio_identity.roles |
RoleMap("Nexus", {"Admin": "admin", ...}): Entra app roles (Nexus.Admin) → app role, unknown = no rights |
scalio_identity.accounts |
Account lookup by Scalio ID subject, then Microsoft tenant + object id; e-mail only for a one-time link; name and e-mail follow Entra (follow_entra), unlink, merge, start password (ADR 0059) |
scalio_identity.mfa |
TOTP (replay safe), backup codes, passkeys (WebAuthn, user verification required) |
scalio_identity.testing |
FakeBroker (Scalio ID in memory, httpx.MockTransport) and SoftKey (software passkey) |
The app keeps its routes, state storage, sessions and accounts; this package only checks.
Settings of an app
| Variable | Meaning |
|---|---|
SCALIO_ID_ISSUER |
broker, e.g. https://sso.scaliocloud.com; empty = Scalio ID off |
SCALIO_ID_CLIENT_ID |
the app's origin; default from the app's own URL |
SCALIO_ORG_ID |
Scalio organisation of a SaaS instance (set at provisioning); empty on self-hosted |
Development
pip install -e ".[dev]"
ruff check . && pytest -q
Release: bump pyproject.toml and __version__, CHANGELOG line, merge, then "Freigeben" in the Scalio Dev
cockpit (or Actions → Publish with the version). PyPI trusted publishing, environment pypi, no token.
Metadata
Release files for scalio-identity 0.2.0
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 |
|---|---|---|---|---|
| scalio_identity-0.2.0.tar.gz | 19.2 kB | With provenance | Details for scalio_identity-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scalio_identity-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for scalio_identity-0.2.0-py3-none-any.whl |
Total release size: 35.0 kB
Release files / scalio_identity-0.2.0.tar.gz
| Download URL | scalio_identity-0.2.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c32dba97d92de3f6bcfa5385e8a8d281335e54cde3932847fd795daabe4ca15e
|
|
BLAKE2b-256 checksum How to use checksums |
891f46522c3c24c85c60a07fd1fc878a21c7199ab1d11597b1ab696316580f84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / scalio_identity-0.2.0-py3-none-any.whl
| Download URL | scalio_identity-0.2.0-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a74eb66bbdd3d6cf9e5ed0f8647bdd2ad020d8b169925e953fdbab40acd98dc7
|
|
BLAKE2b-256 checksum How to use checksums |
c2cccca7e25d616877a9a4cc4e2129c907200cb211020202856104fc240c4725
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logSecurity for scalio-identity 0.2.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for scalio_identity-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logA 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.