Documentation clarification: SOCIAL_AUTH_FORCE_POST_DISCONNECT #759

Closed
kaleissin opened this Issue Sep 2, 2013 · 4 comments

Projects

None yet

2 participants

@kaleissin

If SOCIAL_AUTH_FORCE_POST_DISCONNECT is set to True but a POST is not used, the result is a white page; no disconnect, no error messages. It would be better if this resulted in a 500 with an appropriate error-message or a 405, but describing what happens where social_disconnect* is docced would also help.

@omab
Owner
omab commented Sep 2, 2013

The view returns a 405 error code (it's triggered by django require_POST decorator).

@omab
Owner
omab commented Sep 2, 2013

405

@omab omab closed this Sep 2, 2013
@kaleissin

.. and you have to read the source of decorators.py to see that, preferrably the source to require_POST too. It should be documented.

@omab
Owner
omab commented Sep 3, 2013

Reading source code is a common task, anyway, I've added doc regarding the 405 response code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment