Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update Token Authentication sections to explain how to properly… #648

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ authentication in ``dj_rest_auth.views.LoginView``. The value is the dotted
path to ``dj_rest_auth.serializers.TokenSerializer``, which is also the
default.

.. note:: This should be set to ``None`` together with ``TOKEN_MODEL`` if you don't want to use Token Authentication.

``JWT_SERIALIZER``
==================

Expand Down Expand Up @@ -143,6 +145,8 @@ The path to the model class for the token. The value is the dotted path to
``None`` token authentication will be disabled. In this case at least one of
``SESSION_LOGIN`` or ``USE_JWT`` must be enabled.

.. note:: ``TOKEN_SERIALIZER`` should also be set to `None` if you don't want to use Token Authentication.

``TOKEN_CREATOR``
=================

Expand Down