Skip to content

Commit

Permalink
Update django.rst
Browse files Browse the repository at this point in the history
To reflect Django configuration changes related to python-social-auth/social-app-django#493 this PR adds notes about using `SOCIAL_AUTH_REQUIRE_POST` configuration
  • Loading branch information
sultaniman authored and nijel committed Sep 7, 2023
1 parent 33a4e50 commit 9e273c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/configuration/django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ In case you need a custom namespace, this setting is also needed::
SOCIAL_AUTH_URL_NAMESPACE = 'social'


Requiring POST only login
-------------------------

By default login url ``social:begin`` uses ``GET`` request if you would like to require ``POST`` only (for example to comply with SOC audits) logging in then please use::

SOCIAL_AUTH_REQUIRE_POST = True


Templates
---------

Expand Down

0 comments on commit 9e273c4

Please sign in to comment.