From cadf5a6b3a76448bdeec7b889b932e9de8ee514d Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Sat, 20 Sep 2025 00:53:42 +0700 Subject: [PATCH 1/3] Add drf-auth-kit to Third Party Authentication Packages --- docs/api-guide/authentication.md | 5 +++++ docs/community/third-party-packages.md | 2 ++ 2 files changed, 7 insertions(+) diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index 84e58bf4b..69512dd7e 100644 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -367,6 +367,10 @@ The following example will authenticate any incoming request as the user given b The following third-party packages are also available. +## DRF Auth Kit + +[DRF Auth Kit][drf-auth-kit] library provides a modern REST authentication solution with JWT cookies, social login, multi-factor authentication, and comprehensive user management. The package offers full type safety, automatic OpenAPI schema generation with DRF Spectacular. It supports multiple authentication types (JWT, DRF Token, or Custom) and includes built-in internationalization for 50+ languages. + ## django-rest-knox [Django-rest-knox][django-rest-knox] library provides models and views to handle token-based authentication in a more secure and extensible way than the built-in TokenAuthentication scheme - with Single Page Applications and Mobile clients in mind. It provides per-client tokens, and views to generate them when provided some other authentication (usually basic authentication), to delete the token (providing a server enforced logout) and to delete all tokens (logs out all clients that a user is logged into). @@ -498,3 +502,4 @@ More information can be found in the [Documentation](https://django-pyoidc.readt [django-rest-durin]: https://github.com/eshaan7/django-rest-durin [login-required-middleware]: https://docs.djangoproject.com/en/stable/ref/middleware/#django.contrib.auth.middleware.LoginRequiredMiddleware [django-pyoidc] : https://github.com/makinacorpus/django_pyoidc +[drf-auth-kit]: https://github.com/huynguyengl99/drf-auth-kit diff --git a/docs/community/third-party-packages.md b/docs/community/third-party-packages.md index a4ad2db1e..f06d31f2b 100644 --- a/docs/community/third-party-packages.md +++ b/docs/community/third-party-packages.md @@ -55,6 +55,7 @@ To submit new content, [create a pull request][drf-create-pr]. * [djangorestframework-digestauth][djangorestframework-digestauth] - Provides Digest Access Authentication support. * [django-oauth-toolkit][django-oauth-toolkit] - Provides OAuth 2.0 support. * [djangorestframework-simplejwt][djangorestframework-simplejwt] - Provides JSON Web Token Authentication support. +* [DRF Auth Kit][drf-auth-kit] - Provides complete REST authentication with JWT cookies, social login, MFA, and user management. Features full type safety and automatic OpenAPI schema generation. * [hawkrest][hawkrest] - Provides Hawk HTTP Authorization. * [djangorestframework-httpsignature][djangorestframework-httpsignature] - Provides an easy to use HTTP Signature Authentication mechanism. * [djoser][djoser] - Provides a set of views to handle basic actions such as registration, login, logout, password reset and account activation. @@ -180,6 +181,7 @@ To submit new content, [create a pull request][drf-create-pr]. [permissions]: ../api-guide/permissions.md [third-party-packages]: #existing-third-party-packages [discussion-group]: https://groups.google.com/forum/#!forum/django-rest-framework +[drf-auth-kit]: https://github.com/huynguyengl99/drf-auth-kit [djangorestframework-digestauth]: https://github.com/juanriaza/django-rest-framework-digestauth [django-oauth-toolkit]: https://github.com/evonove/django-oauth-toolkit [djangorestframework-jwt]: https://github.com/GetBlimp/django-rest-framework-jwt From 9ab338859d69257f1656bc85bf51fd6f7bdaa276 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 20 Oct 2025 17:51:25 +0100 Subject: [PATCH 2/3] Fix broken django-pyoidc --- docs/api-guide/authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index 69512dd7e..7f66573cc 100644 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -501,5 +501,5 @@ More information can be found in the [Documentation](https://django-pyoidc.readt [django-rest-authemail]: https://github.com/celiao/django-rest-authemail [django-rest-durin]: https://github.com/eshaan7/django-rest-durin [login-required-middleware]: https://docs.djangoproject.com/en/stable/ref/middleware/#django.contrib.auth.middleware.LoginRequiredMiddleware -[django-pyoidc] : https://github.com/makinacorpus/django_pyoidc +[django-pyoidc]: https://github.com/makinacorpus/django_pyoidc [drf-auth-kit]: https://github.com/huynguyengl99/drf-auth-kit From a050220cd8353e5a1c73c2825300995ec1091eb8 Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Tue, 21 Oct 2025 00:47:21 +0700 Subject: [PATCH 3/3] Reorder DRF Auth Kit package --- docs/api-guide/authentication.md | 9 +++++---- docs/community/third-party-packages.md | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index 7f66573cc..258469f5e 100644 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -367,10 +367,6 @@ The following example will authenticate any incoming request as the user given b The following third-party packages are also available. -## DRF Auth Kit - -[DRF Auth Kit][drf-auth-kit] library provides a modern REST authentication solution with JWT cookies, social login, multi-factor authentication, and comprehensive user management. The package offers full type safety, automatic OpenAPI schema generation with DRF Spectacular. It supports multiple authentication types (JWT, DRF Token, or Custom) and includes built-in internationalization for 50+ languages. - ## django-rest-knox [Django-rest-knox][django-rest-knox] library provides models and views to handle token-based authentication in a more secure and extensible way than the built-in TokenAuthentication scheme - with Single Page Applications and Mobile clients in mind. It provides per-client tokens, and views to generate them when provided some other authentication (usually basic authentication), to delete the token (providing a server enforced logout) and to delete all tokens (logs out all clients that a user is logged into). @@ -430,6 +426,11 @@ HTTP Signature (currently a [IETF draft][http-signature-ietf-draft]) provides a [Djoser][djoser] library provides a set of views to handle basic actions such as registration, login, logout, password reset and account activation. The package works with a custom user model and uses token-based authentication. This is a ready to use REST implementation of the Django authentication system. +## DRF Auth Kit + +[DRF Auth Kit][drf-auth-kit] library provides a modern REST authentication solution with JWT cookies, social login, multi-factor authentication, and comprehensive user management. The package offers full type safety, automatic OpenAPI schema generation with DRF Spectacular. It supports multiple authentication types (JWT, DRF Token, or Custom) and includes built-in internationalization for 50+ languages. + + ## django-rest-auth / dj-rest-auth This library provides a set of REST API endpoints for registration, authentication (including social media authentication), password reset, retrieve and update user details, etc. By having these API endpoints, your client apps such as AngularJS, iOS, Android, and others can communicate to your Django backend site independently via REST APIs for user management. diff --git a/docs/community/third-party-packages.md b/docs/community/third-party-packages.md index f06d31f2b..de69a6ebb 100644 --- a/docs/community/third-party-packages.md +++ b/docs/community/third-party-packages.md @@ -55,10 +55,10 @@ To submit new content, [create a pull request][drf-create-pr]. * [djangorestframework-digestauth][djangorestframework-digestauth] - Provides Digest Access Authentication support. * [django-oauth-toolkit][django-oauth-toolkit] - Provides OAuth 2.0 support. * [djangorestframework-simplejwt][djangorestframework-simplejwt] - Provides JSON Web Token Authentication support. -* [DRF Auth Kit][drf-auth-kit] - Provides complete REST authentication with JWT cookies, social login, MFA, and user management. Features full type safety and automatic OpenAPI schema generation. * [hawkrest][hawkrest] - Provides Hawk HTTP Authorization. * [djangorestframework-httpsignature][djangorestframework-httpsignature] - Provides an easy to use HTTP Signature Authentication mechanism. * [djoser][djoser] - Provides a set of views to handle basic actions such as registration, login, logout, password reset and account activation. +* [DRF Auth Kit][drf-auth-kit] - Provides complete REST authentication with JWT cookies, social login, MFA, and user management. Features full type safety and automatic OpenAPI schema generation. * [dj-rest-auth][dj-rest-auth] - Provides a set of REST API endpoints for registration, authentication (including social media authentication), password reset, retrieve and update user details, etc. * [drf-oidc-auth][drf-oidc-auth] - Implements OpenID Connect token authentication for DRF. * [drfpasswordless][drfpasswordless] - Adds (Medium, Square Cash inspired) passwordless logins and signups via email and mobile numbers.