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.10.2.tar.gz (54.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swh_auth-0.10.2-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file swh_auth-0.10.2.tar.gz.

File metadata

  • Download URL: swh_auth-0.10.2.tar.gz
  • Upload date:
  • Size: 54.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for swh_auth-0.10.2.tar.gz
Algorithm Hash digest
SHA256 700eba4744c4535b069b06f3fcafc877e48f9854ca5962979272b94e84522379
MD5 2e216fd92e0057f614400224b13399d3
BLAKE2b-256 f325641dfb5a5fbd7549a9691c760a030633abf8911840e9688ea2f2d0a29850

See more details on using hashes here.

File details

Details for the file swh_auth-0.10.2-py3-none-any.whl.

File metadata

  • Download URL: swh_auth-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for swh_auth-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a008bfcc5a2e54ec9e6dbcd0bea66eea5add996de1e659ace6ed514fd69fbb9
MD5 7357198c08eba4211b1948c6a1767dbe
BLAKE2b-256 781a8378ade46f0f6157ec7eaf80c1bc15f4871cae3e121f5f0895bb44a563c0

See more details on using hashes here.

Supported by

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