| 1 |
Frequently Asked Questions |
| 2 |
========================== |
| 3 |
|
| 4 |
Overall |
| 5 |
------- |
| 6 |
|
| 7 |
Why don't you implement support for ... ? |
| 8 |
***************************************** |
| 9 |
|
| 10 |
This app is just about authentication. Anything that is project |
| 11 |
specific, such as making choices on what to display in a profile page, |
| 12 |
or, what information is stored for a user (e.g. home address, or |
| 13 |
favorite color?), is beyond scope and therefore not offered. |
| 14 |
|
| 15 |
This information is nice and all, but... I need more! |
| 16 |
***************************************************** |
| 17 |
|
| 18 |
Here are a few third party resources to help you get started: |
| 19 |
|
| 20 |
- https://dev.to/gajesh/the-complete-django-allauth-guide-la3 |
| 21 |
- https://learndjango.com/tutorials/django-allauth-tutorial |
| 22 |
- https://www.youtube.com/watch?v=2QLAc7RJ99s |
| 23 |
- https://speakerdeck.com/tedtieken/signing-up-and-signing-in-users-in-django-with-django-allauth |
| 24 |
- https://stackoverflow.com/questions/tagged/django-allauth |
| 25 |
- https://github.com/aellerton/demo-allauth-bootstrap |
| 26 |
- https://github.com/danihodovic/django-allauth-ui |
| 27 |
|
| 28 |
I think I found a security issue... now what? |
| 29 |
********************************************* |
| 30 |
|
| 31 |
Please report security issues only to [email protected]. |
| 32 |
|
| 33 |
You may also want to subscribe to [email protected] to |
| 34 |
get notified about security releases. |
| 35 |
|
| 36 |
|
| 37 |
Troubleshooting |
| 38 |
--------------- |
| 39 |
|
| 40 |
The /accounts/ URL is giving me a 404 |
| 41 |
************************************* |
| 42 |
|
| 43 |
There is no such URL. Try ``/accounts/login/`` instead. |
| 44 |
|
| 45 |
When I attempt to login I run into a 404 on /accounts/profile/ |
| 46 |
************************************************************** |
| 47 |
|
| 48 |
When you end up here you have successfully logged in. However, you |
| 49 |
will need to implement a view for this URL yourself, as whatever is to |
| 50 |
be displayed here is project specific. You can also decide to redirect |
| 51 |
elsewhere: |
| 52 |
|
| 53 |
https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url |
| 54 |
|
| 55 |
When I sign up I run into connectivity errors (connection refused et al) |
| 56 |
************************************************************************ |
| 57 |
|
| 58 |
You probably have not got an email (SMTP) server running on the |
| 59 |
machine you are developing on. Therefore, ``allauth`` is unable to send |
| 60 |
verification mails. |
| 61 |
|
| 62 |
You can work around this by adding the following line to |
| 63 |
``settings.py``:: |
| 64 |
|
| 65 |
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' |
| 66 |
|
| 67 |
This will avoid the need for an SMTP server as emails will be printed |
| 68 |
to the console. For more information, please refer to: |
| 69 |
|
| 70 |
https://docs.djangoproject.com/en/dev/ref/settings/#email-host |
| 71 |
|
| 72 |
|
| 73 |
Development |
| 74 |
----------- |
| 75 |
|
| 76 |
Why did you just close my issue? |
| 77 |
******************************** |
| 78 |
|
| 79 |
Time is limited and I have to pick my battles. Please do not file the following |
| 80 |
types of issues: |
| 81 |
|
| 82 |
- **Support questions, installation instructions, "How do I...?":** please direct |
| 83 |
these questions elsewhere, for example here: |
| 84 |
https://stackoverflow.com/questions/tagged/django-allauth |
| 85 |
|
| 86 |
- **Documentation related complaints:** while the documentation can most certainly be |
| 87 |
improved, I am adhering to the debatable principle that keeping open issues |
| 88 |
around with respect to documentation is not very helpful in improving things. |
| 89 |
Please step in and file a pull request if you feel there is something unclear. |
| 90 |
|
| 91 |
- **Project specific integration trouble:** In cases where ``allauth`` is just |
| 92 |
one piece of the puzzle and for example a stack trace indicates another |
| 93 |
module crashing, please try to come up stripped version of the issue where it |
| 94 |
is clear that ``allauth`` is the one that is misbehaving. |
| 95 |
|
| 96 |
- **Social login trouble:** There are many reasons why the social login for a |
| 97 |
provider is not working for you. Common causes are errors in setting up the |
| 98 |
credential for the OAuth app and/or having setup invalid callback URLs. Filing |
| 99 |
issues stating that things are not working for you is not very helpful. It is |
| 100 |
simply not feasible to debug your specific setup. If you really do think that |
| 101 |
there is an issue in ``allauth``, please do the initial debugging and analysis |
| 102 |
yourself, and, provide detailed information in the issue. If the issue does |
| 103 |
not point to any concrete issue in ``allauth``, it is likely to get closed. |