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

Paolo Bonzini pbonzini at redhat.com
Mon May 13 13:52:53 UTC 2019


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




More information about the Patchew-devel mailing list