Skip to main content

Drf-Logto

Logto authentication integration for Django Rest Framework.

Installation & Usage

pip install drf-logto

Add "drf_logto" to INSTALLED_APPS list:

INSTALLED_APPS = [

    "drf_logto",
]

Include "drf_logto.urls" in your project's urls.py:

from django.urls import path, include

urlpatterns = [

    path("auth/", include("drf_logto.urls")),
]

Set AUTH_USER_MODEL in settings.py to "drf_logto.LogtoUser"

AUTH_USER_MODEL = "drf_logto.LogtoUser"

Settings

DRF_LOGTO = {
    "WEBHOOK_HEADER_KEY": "Example-Webhook-Token",
    "WEBHOOK_HEADER_VALUE": "sdfksdjfksjdfsdkfjsdkfjksdjf",
    "SIGNUP_IDENTIFIER": "email",
}

Metadata

Release files for drf-logto 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drf-logto 0.1.0
File Size Uploaded
drf_logto-0.1.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drf-logto 0.1.0
File Interpreter ABI Platform
drf_logto-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / drf_logto-0.1.0.tar.gz

Download URL drf_logto-0.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1d1c2be1ab8c69e2699b0491cf85d9b5cfa47ce79720632b54c5e632a73813bf
BLAKE2b-256 checksum
How to use checksums
d29d861c25b0d7cd6610c5a6c4fc7db0cb0b13d08b945da7cab07bf30155934d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

Release files / drf_logto-0.1.0-py3-none-any.whl

Download URL drf_logto-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49bd32914b1eb27cc2ccd34bed13f7c920cc6acd34d3eb64f33809d94063036b
BLAKE2b-256 checksum
How to use checksums
ae0c9b99c94684239870ec837aedf9ee7b0647566015dd0fc70dcfb5de39dfa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page