Skip to main content

Alastria ID authentication

Añadir en settings.py:

INSTALLED_APPS = [
....
"alastria_auth.apps.AlastriaAuthConfig"
]
# ALASTRIA AUTH VARS
BACKEND_DOMAIN = os.environ.get("BACKEND_DOMAIN", "http://localhost:8000")
NETWORK_SERVICE_HOST = os.environ.get("NETWORK_SERVICE_HOST", "http://host.docker.internal:8001")
ISSUER_PRIVATE_KEY = os.environ.get("ISSUER_PRIVATE_KEY", "")
ISSUER_PUBLIC_KEY = os.environ.get(
    "ISSUER_PUBLIC_KEY",
    "",
)
ISSUER_ADDRESS = os.environ.get("ISSUER_ADDRESS", "")
ALASTRIA_T_NETWORK_ID = os.environ.get("ALASTRIA_T_NETWORK_ID", "redT")
ALASTRIA_AUTH_SECRET = os.environ.get("ALASTRIA_AUTH_SECRET", "")
ALASTRIA_SERVICE_HOST = os.environ.get("ALASTRIA_SERVICE_HOST", "http://host.docker.internal:5000")
#####################

Añadir en url.py las urls:

from alastria_auth.views import AlastriaAuthView

....
urlpatterns = [
	path("alastria/", include("alastria_auth.urls")),
....
]

Metadata

Release files for alastria-auth 0.0.17

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

Source distribution (sdist)

Source distribution for alastria-auth 0.0.17
File Size Uploaded Provenance Actions
alastria_auth-0.0.17.tar.gz 9.1 kB Without provenance Details for alastria_auth-0.0.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alastria-auth 0.0.17
File Interpreter ABI Platform Actions
alastria_auth-0.0.17-py3-none-any.whl Python 3 none any Details for alastria_auth-0.0.17-py3-none-any.whl

Total release size: 21.9 kB

Release files / alastria_auth-0.0.17.tar.gz

Download URL alastria_auth-0.0.17.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f881d4628eb3e1a110455f5de8d05924631aefa6a4f96bc7a6a1a25e57d9e51b
BLAKE2b-256 checksum
How to use checksums
58e4264eefb54a3e0355924728e39ff29fd671b9129e265df44b1a271ef13b06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.11

Release files / alastria_auth-0.0.17-py3-none-any.whl

Download URL alastria_auth-0.0.17-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2300f4a8918b73ad336773f6c47dbc23e7175f7adedd0aa4905a50d2e27d746
BLAKE2b-256 checksum
How to use checksums
b1ade637639e396d9d8baf380472fe1f2c79312375b8401726a7f88bb9187c7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.11

Security for alastria-auth 0.0.17

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.

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