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