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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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