Skip to main content

django-df-auth

This is a simple opinionated module that implements JWT authentication via REST API. For more complex applications please consider using an external authentication service such as https://goauthentik.io

The module is a glue and uses:

  • drf - for the API
  • simplejwt - for JWT
  • pysocial - for social login
  • django-otp* for otp and 2fa
  • twilio - for text messages

The module also provides very limited extra functionality to the packages above:

  • otp devices management OTPDeviceViewSet
    • Create, Delete
  • user registration and invitation methods and template
    • standard User fields = first_name, last_name, email, phone
    • extra User fields / serializer override in settings
  • phone number white/black listing rules (to be removed?) => registration identity blacklist?

Blacklisting:

  • phone / email registration blacklisting (e.g. premium numbers, disposable emails ) regex
  • otp sending blacklisting
  • ip address blacklisting (honey trap)
  • usernames pattern - avoid religiously offensive words

The OTP supports following flows:

  • otp (email/phone/static/totp) verification - can also be used for confirming email/phone
  • 2FA
  • magic signin link

Registration Signup 2FA Management

Metadata

Release files for django-df-auth 1.0.11

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-df-auth 1.0.11
File Size Uploaded Provenance Actions
django_df_auth-1.0.11.tar.gz 17.5 kB Without provenance Details for django_df_auth-1.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-df-auth 1.0.11
File Interpreter ABI Platform Actions
django_df_auth-1.0.11-py3-none-any.whl Python 3 none any Details for django_df_auth-1.0.11-py3-none-any.whl

Total release size: 38.9 kB

Release files / django_df_auth-1.0.11.tar.gz

Download URL django_df_auth-1.0.11.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
442b92da172f057951f59b09d2781938b7849dc168a7416481c522021df90e5b
BLAKE2b-256 checksum
How to use checksums
3620e3317dec0b062464b3ba63a44892cd5df84916f5654e90e1bedc07d2403f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / django_df_auth-1.0.11-py3-none-any.whl

Download URL django_df_auth-1.0.11-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc9e0921449b0f12757b2dad97058eb69e2a32b509609852fcb976e2d9b4227b
BLAKE2b-256 checksum
How to use checksums
ee5df0e9f7acbcbcc26c3679c3101d765090e3096c4d4c6bd780cd9e05dc41c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for django-df-auth 1.0.11

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.

Release history Release notifications | RSS feed

This release

1.0.11 This release

2 release files No provenance

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