Skip to content

Commit

Permalink
[docs] Updated social login instructions
Browse files Browse the repository at this point in the history
pip install django-allauth[socialaccount] is not required anymore.
  • Loading branch information
nemesifier committed Sep 13, 2024
1 parent 6b20ab9 commit 9d77a7d
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions docs/user/social_login.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,12 @@ the user is signing-in with a social network.
Setup
-----

Install ``django-allauth`` in the python environment used by OpenWISP:

::

# by default, in instances deployed
# via ansible-openwisp2, the python env
# is in /opt/openwisp2/env/
source /opt/openwisp2/env/bin/activate

pip install django-allauth[socialaccount]
Ensure the your project ``settings.py`` contains the instructions shown in
the example below, which shows how to configure the Facebook social login
provider.

.. include:: /partials/settings-note.rst

Ensure your ``settings.py`` looks like the following (we will show how to
configure of the Facebook social provider):

.. code-block:: python
INSTALLED_APPS = [
Expand Down

0 comments on commit 9d77a7d

Please sign in to comment.