Skip to main content

OIDCHub: Identity provider for the mortals 🪪

Project description

OpenID Connect Hub

The oidc_hub package acts as an identity provider, integrating OpenID Connect to streamline Identity and Access Management (IAM).

This package provides user authentication, password resets, and invitations while providing secure identity verification and profile management.

Using OpenID Connect’s standardized protocols, oidc_hub manages user identities and access, enhancing both security and operational efficiency for Djangonauts.

Installation

pip install oidc-hub

Configuration

Required

Add oidc_hub and oidc_provider to your INSTALLED_APPS in the Django project's settings:

INSTALLED_APPS = [
  "oidc_hub.accounts",
  "oidc_hub.admin",
  "django.contrib.admin",
  # ...
  "django.contrib.staticfiles",
  "oidc_provider",
]

Then, we can use the package root urlconf:

ROOT_URLCONF = "oidc_hub.urls"

Optional

To support multiple languages in our application, we should configure internationalization (i18n) settings:

LANGUAGE_CODE = "fr"
LANGUAGES = (
  ('fr', _('French')),
  ('en', _('English'))
)
TIME_ZONE = "UTC"

USE_I18N = True
USE_TZ = True

Migrations

Run migrations to create the required database tables:

./manage.py migrate

The first time you migrate, an administrator account will be created according to the settings you have specified in a settings module.

The initial migration will use ADMIN_USERNAME, ADMIN_EMAIL and ADMIN_PASSWORD settings or their default values if these settings are not specified.

Webserver

Development

Start the Django development server.

./manage.py runserver

License

This project is licensed under the AGPLv3 License - see the LICENSE.md file for details.

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

oidc_hub-0.8.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

oidc_hub-0.8-py2.py3-none-any.whl (39.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file oidc_hub-0.8.tar.gz.

File metadata

  • Download URL: oidc_hub-0.8.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for oidc_hub-0.8.tar.gz
Algorithm Hash digest
SHA256 adf4ddd6eb19ad97a4cd0a8ce32e97b02c1b9359f20076275341e4fd9e45183b
MD5 87a337eab5cfeb9e1104945345caaff9
BLAKE2b-256 cc1075fdaac1c5cfd5a9cf4e9f7fb1e31ff78214be5b19d1134721d99cfa3672

See more details on using hashes here.

File details

Details for the file oidc_hub-0.8-py2.py3-none-any.whl.

File metadata

  • Download URL: oidc_hub-0.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for oidc_hub-0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b979bbf3f64ca54b63795ccc592ec3ab43a6e7cb419a3359fbc67438a4147afd
MD5 baf38fbbe0ebcd1f4cd7e9694cca6514
BLAKE2b-256 995fdd4e1e20b0f3a98fe9268f75a2d7dd1af21ab231f4551b906f98a91c5777

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