https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17004

--- Comment #7 from Lari Taskula <[email protected]> ---
Created attachment 54682
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54682&action=edit
Bug 17004: Add API route for logging out user

To test:
1. Login to Koha either by newly introduced POST /auth/session
   or traditional way.
2. Send a DELETE request to /auth/session
3. Observe that you are no longer logged-in in Koha.
4. Repeat step 2 and observe error about invalid session id.

You may find this cURL useful:
curl -X DELETE http://lib/api/v1/auth/session --cookie
'CGISESSID=88e735aaf7c6cf194a775425cbd00570'
(replace CGISESSID=... with your CGISESSID)


Current status: Signed Off

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to