| 1 |
|
| 2 |
========================== |
| 3 |
Welcome to django-allauth! |
| 4 |
========================== |
| 5 |
|
| 6 |
Integrated set of Django applications addressing authentication, |
| 7 |
registration, account management as well as 3rd party (social) account |
| 8 |
authentication. |
| 9 |
|
| 10 |
Home page |
| 11 |
https://allauth.org/ |
| 12 |
|
| 13 |
Source code |
| 14 |
https://codeberg.org/allauth/django-allauth |
| 15 |
|
| 16 |
Issue Tracker |
| 17 |
https://codeberg.org/allauth/django-allauth/issues |
| 18 |
|
| 19 |
Documentation |
| 20 |
https://docs.allauth.org/en/latest/ |
| 21 |
|
| 22 |
Stack Overflow |
| 23 |
https://stackoverflow.com/questions/tagged/django-allauth |
| 24 |
|
| 25 |
Demo |
| 26 |
https://django.demo.allauth.org and https://react.demo.allauth.org |
| 27 |
|
| 28 |
Translations |
| 29 |
https://hosted.weblate.org/projects/allauth/django-allauth/ |
| 30 |
|
| 31 |
.. end-welcome |
| 32 |
|
| 33 |
Rationale |
| 34 |
========= |
| 35 |
|
| 36 |
.. begin-rationale |
| 37 |
|
| 38 |
Most existing Django apps that address the problem of social |
| 39 |
authentication unfortunately focus only on one dimension - the social. |
| 40 |
Most developers end up integrating another app in order to support authentication |
| 41 |
flows that are locally generated. |
| 42 |
|
| 43 |
This approach creates a development gap between local and social |
| 44 |
authentication flows. It has remained an issue in spite of numerous common |
| 45 |
scenarios that both require. For example, an email address passed along by an |
| 46 |
OpenID provider may not be verified. Therefore, prior to hooking up |
| 47 |
an OpenID account to a local account the email address must be |
| 48 |
verified. This essentially is one of many use cases that mandate email |
| 49 |
verification to be present in both worlds. |
| 50 |
|
| 51 |
Integrating both is a humongous and tedious process. It is not as |
| 52 |
simple as adding one social authentication app, and one |
| 53 |
local account registration app to your ``INSTALLED_APPS`` list. |
| 54 |
|
| 55 |
This inadequacy is the reason for this project's existence -- to offer a fully |
| 56 |
integrated authentication app that allows for both local and social |
| 57 |
authentication, with flows that just work, beautifully! |
| 58 |
|
| 59 |
.. end-rationale |
| 60 |
|
| 61 |
|
| 62 |
Features |
| 63 |
======== |
| 64 |
|
| 65 |
.. begin-features |
| 66 |
|
| 67 |
**🔑 Comprehensive account functionality** |
| 68 |
Supports multiple authentication |
| 69 |
schemes (e.g. login by user name, or by email), as well as multiple |
| 70 |
strategies for account verification (ranging from none to mandatory email |
| 71 |
verification). |
| 72 |
|
| 73 |
**👥 Social Login** |
| 74 |
Login using external identity providers, supporting any *Open ID Connect |
| 75 |
compatible* provider, many *OAuth 1.0/2.0* providers, as well as |
| 76 |
custom protocols such as, for example, *Telegram* authentication. |
| 77 |
|
| 78 |
**💼 Enterprise ready** |
| 79 |
Supports SAML 2.0, which is often used in a B2B context. |
| 80 |
|
| 81 |
**🕵️ Battle-tested** |
| 82 |
The package has been out in the open since 2010. It is in use by many |
| 83 |
commercial companies whose business depends on it and has hence been |
| 84 |
subjected to various penetration testing attempts. |
| 85 |
|
| 86 |
**⏳Rate limiting** |
| 87 |
When you expose an authentication-enabled web service to |
| 88 |
the internet, it is important to be prepared for potential brute force |
| 89 |
attempts. Therefore, rate limiting is enabled out of the box. |
| 90 |
|
| 91 |
**🔒 Private** |
| 92 |
Many sites leak information. For example, on many sites you can |
| 93 |
check whether someone you know has an account by input their email address |
| 94 |
into the password forgotten form, or trying to signup with it. We offer |
| 95 |
account enumeration prevention, making it impossible to tell whether or not |
| 96 |
somebody already has an account. |
| 97 |
|
| 98 |
**🧩 Customizable** |
| 99 |
As a developer, you have the flexibility to customize the core functionality |
| 100 |
according to your specific requirements. By employing the adapter pattern, you |
| 101 |
can effortlessly introduce interventions at the desired points to deviate from |
| 102 |
the standard behavior. This level of customization empowers you to tailor the |
| 103 |
software to meet your unique needs and preferences. |
| 104 |
|
| 105 |
**⚙️ Configuration** |
| 106 |
The required consumer keys and secrets for interacting with Facebook, |
| 107 |
X (Twitter) and the likes can be configured using regular settings, or, can be |
| 108 |
configured in the database via the Django admin. Here, optional support for |
| 109 |
the Django sites framework is available, which is helpful for larger |
| 110 |
multi-domain projects, but also allows for easy switching between a |
| 111 |
development (localhost) and production setup without messing with your |
| 112 |
settings and database. |
| 113 |
|
| 114 |
|
| 115 |
.. end-features |
| 116 |
|
| 117 |
|
| 118 |
Commercial Support |
| 119 |
================== |
| 120 |
|
| 121 |
.. begin-support |
| 122 |
|
| 123 |
Commercial support is available. If you find certain functionality missing, or |
| 124 |
require assistance on your project(s), please contact us: [email protected]. |
| 125 |
|
| 126 |
.. end-support |