pyobs-auth
Shared Keycloak/OIDC authentication client for pyobs web services (pyobs-archive,
pyobs-portal, and future services), so each one doesn't reimplement OIDC discovery,
token validation, and user mapping on its own.
Single issuer only, by design: every service trusts exactly one Keycloak realm. Any upstream
identity provider (an institute's SSO, a self-hosted observation-portal, ...) is meant to be
brokered behind that Keycloak instance, not validated directly by this library - see
docs/source/architecture.rst for the full reasoning.
Documentation
Full installation (adding this to a Django project), configuration (every PYOBS_AUTH key),
architecture, and API reference: see docs/source/ (built with Sphinx —
cd docs && uv run --group dev make html).
Development
git clone https://github.com/pyobs/pyobs-auth.git
cd pyobs-auth
uv sync --group dev
uv run pytest
uv run ruff check pyobs_auth/
uv run black --check .
uv run pyrefly check pyobs_auth
Metadata
Release files for pyobs-auth 2.1.2
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 |
|---|---|---|---|---|
| pyobs_auth-2.1.2.tar.gz | 15.5 kB | Without provenance | Details for pyobs_auth-2.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyobs_auth-2.1.2-py3-none-any.whl | Python 3 | none | any | Details for pyobs_auth-2.1.2-py3-none-any.whl |
Total release size: 34.7 kB
Release files / pyobs_auth-2.1.2.tar.gz
| Download URL | pyobs_auth-2.1.2.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
358dfd319d8d1b7a64414190894aa9df3e11db4b86bc189ab0fd577e4e6ef436
|
|
BLAKE2b-256 checksum How to use checksums |
ce7fecfa83eb3108bea4481d7911a7d06635b9932f0a0a7d10bec14f751cbf28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyobs_auth-2.1.2-py3-none-any.whl
| Download URL | pyobs_auth-2.1.2-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b323cdd297dec7a742761924757f6d402e01b57aacbbfb229fd8f772afdebf20
|
|
BLAKE2b-256 checksum How to use checksums |
6b3954465d524a27c08bc221f2fbd7198f67a6a5cab83989be09028e7b194626
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pyobs-auth 2.1.2
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.