Skip to main content

Software Heritage authentication utilities

Project description

swh-auth is a set of utility libraries related to user authentication in applications and services based on the use of Keycloak and OpenID Connect.

Keycloak is an open source software enabling single sign-on (SSO) with identity and access management.

OpenID Connect (OIDC) is an authentication layer on top of OAuth 2.0, widely used in modern web applications and services.

swh-auth notably offers the following features:

  • the swh.auth.keycloak.KeycloakOpenIDConnect class to ease the interaction with a Keycloak server

  • a pytest plugin with the keycloak_oidc fixture to mock Keycloak responses in unit tests

  • generic backends, views and middlewares to easily plug OpenID Connect authentication in any Django or Django REST framework application

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swh.auth-0.9.1.tar.gz (53.4 kB view details)

Uploaded Source

Built Distribution

swh.auth-0.9.1-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file swh.auth-0.9.1.tar.gz.

File metadata

  • Download URL: swh.auth-0.9.1.tar.gz
  • Upload date:
  • Size: 53.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for swh.auth-0.9.1.tar.gz
Algorithm Hash digest
SHA256 d41d504167ac855cb091a25a0d4ab9c428742caedd5a2772aa386eed148661b3
MD5 11b61b3f73eaea3e44d11b89f934bd0b
BLAKE2b-256 2a0650f923049c02451238bb17c9d3986725c10d90993046176135576aa1c947

See more details on using hashes here.

File details

Details for the file swh.auth-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: swh.auth-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 59.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for swh.auth-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22861e85e3ad41ab52e02b5a8aa1eef99cfb061c8ff29d44abf14d01457768b0
MD5 b790bc80a74897c2e01adc98395b6966
BLAKE2b-256 a68760a154f7159f9c52168550b967fa1c0ad128001f6590da03ae2c401cc5ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page