Skip to main content

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
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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scalio-identity 0.1.0
File Size Uploaded Provenance Actions
scalio_identity-0.1.0.tar.gz 16.9 kB With provenance Details for scalio_identity-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scalio-identity 0.1.0
File Interpreter ABI Platform Actions
scalio_identity-0.1.0-py3-none-any.whl Python 3 none any Details for scalio_identity-0.1.0-py3-none-any.whl

Total release size: 31.4 kB

Release files / scalio_identity-0.1.0.tar.gz

Download URL scalio_identity-0.1.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bdf7ee62e272fa7528dbd2573b77089809abd39237748ede2b7a581355d7ab03
BLAKE2b-256 checksum
How to use checksums
0e6339c568441ff8c63f11e6e3fbd880bdf90bb16a1f1ac5bfc66cacabe52826
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 Oct 28, 2026.

Transparency log

Release files / scalio_identity-0.1.0-py3-none-any.whl

Download URL scalio_identity-0.1.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
919757792e6b5d5b5e4ede3529bf0815abefb06ec02ccf798e09d8f8640cfea6
BLAKE2b-256 checksum
How to use checksums
77a1e3509e3bd8a8a5b52ade2cd962e2b3bfcb7fb945f355d2bedcac5c9b9867
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 Oct 28, 2026.

Transparency log

Security for scalio-identity 0.1.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.

Select from 2 files

Attestation for scalio_identity-0.1.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 Oct 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page