Skip to main content

Django Integration for Clerk Auth Platform

Project description

django-clerk

django-clerk is a Django library that integrates with the Clerk authentication platform. It provides seamless integration with Clerk's user authentication and authorization features, allowing you to easily authenticate and manage users in your Django application.

(or at least that's the goal - currently very alpha - thar be dragons)

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install django-clerk

Add to apps

INSTALLED_APPS = [
    # other apps...
    'django_clerk',
]

Add Middleware which sets request.user

MIDDLEWARE = [

# other middleware...

'django_clerk.middleware.ClerkMiddleware',
]

The following setting is required. CLERK_JWT_PEM_PUBLIC_KEY = "your_public_key_here"

License

django-clerk is distributed under the terms of the MIT license.

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

django_clerk-0.1.15.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

django_clerk-0.1.15-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file django_clerk-0.1.15.tar.gz.

File metadata

  • Download URL: django_clerk-0.1.15.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for django_clerk-0.1.15.tar.gz
Algorithm Hash digest
SHA256 c47eb8ee959d6e611ff2c83e84b63a61d642408c1d1607108a90c90b08d85b7f
MD5 f106db55b2ad484cf2833611612a5aaf
BLAKE2b-256 baff0bc36efdf1b21088720257fd8f69479869dd07332440cc2bcc6c0e8097a8

See more details on using hashes here.

File details

Details for the file django_clerk-0.1.15-py3-none-any.whl.

File metadata

File hashes

Hashes for django_clerk-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 9de3a2f86bbbbfe04e942091c00071c79199fad5b685438e6aa7ac5ee35f310c
MD5 2009d21ceb77d629cf6b6cde601dbb84
BLAKE2b-256 a3f209e2e5a10471f0a7ba8a982122f1c9e77f48e86e1f542d70aad7f1bc914e

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