Skip to main content

django-jauth

Simple OAuth2 authentication client library for Django and Django REST framework projects. Django 3.0+ support. Unit test coverage 51%.

Features

  • Supports simple integration both to single page apps (via postMessage) and traditional Django apps (via redirect)

  • Does not require any JavaScript libraries

This is by no means comprehensive OAuth2 package but simple and serves single purpose.

Supported / Tested OAuth2 Providers

  • Facebook

  • Google

Other Features

  • Supports deauthorize and delete Facebook callbacks

Configuration

settings.JAUTH_AUTHENTICATION_SUCCESS_REDIRECT:

  • Set this as URL of user home page after login. Set as None for single-page apps which open separate dialog for login (Value None causes postMessage to be called for the parent window with authentication result)

settings.JAUTH_AUTHENTICATION_ERROR_REDIRECT:

  • Set this as URL of login page with querystring parameter "error" as error message. Can be None for single page apps.

Install

  • pip install django-jauth

Metadata

Release files for django-jauth 3.7.3

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

Source distribution (sdist)

Source distribution for django-jauth 3.7.3
File Size Uploaded Provenance
django_jauth-3.7.3.tar.gz 49.0 kB Without provenance Details

Release files / django_jauth-3.7.3.tar.gz

Download URL django_jauth-3.7.3.tar.gz
Size 49.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5dedd8cb22527357c660c063700a4619d1da807b6f5e5d71cd878b775b9ddef7
BLAKE2b-256 checksum
How to use checksums
7c310790abda5b8d4f96d93f4f80a4aff6e3d5d33b2f208239b4dabd4bcf3e9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for django-jauth 3.7.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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