[Patchew-devel] [PATCH 0/3] login/logout support for the REST API

Paolo Bonzini posted 3 patches 17 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew next tags/patchew/20190513135256.15125-1-pbonzini@redhat.com
api/urls.py         | 12 ++++++++----
patchew/settings.py |  6 ++++++
requirements.txt    |  1 +
3 files changed, 15 insertions(+), 4 deletions(-)

[Patchew-devel] [PATCH 0/3] login/logout support for the REST API

Posted by Paolo Bonzini 17 weeks ago
This uses the rest_auth package in order to add support for obtaining
tokens and login/logout.  patchew-cli can then use this instead of
cookies together with the REST API, removing the need to bypass CSRF.

Paolo Bonzini (3):
  api: anchor all URLs
  rest: enable token-based authentication
  rest: add rest_auth support

 api/urls.py         | 12 ++++++++----
 patchew/settings.py |  6 ++++++
 requirements.txt    |  1 +
 3 files changed, 15 insertions(+), 4 deletions(-)

-- 
2.21.0

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel