# HG changeset patch # User Sebastien Jodogne # Date 1787323250 -7200 # Node ID e4ebcf577033eafd253d8e2c739da516b492214e # Parent 4c666b4f595540221c74cdb369351bb90cadcf1c Python: implementing user authentication diff -r 4c666b4f5955 -r e4ebcf577033 Sphinx/source/plugins/python.rst --- a/Sphinx/source/plugins/python.rst Wed Aug 19 09:01:06 2026 +0200 +++ b/Sphinx/source/plugins/python.rst Fri Aug 21 16:40:50 2026 +0200 @@ -1048,6 +1048,23 @@ opened at: ``http://localhost:5984/_utils/`` +.. _python_http_authentication: + +Implementing user authentication (new in 7.2) +............................................. + +Release 7.2 of the Python plugin for Orthanc introduces support for +HTTP authentication through the new function: +``orthanc.RegisterHttpAuthenticationCallback()``. + +The source distribution of the Python plugin `contains a full sample +`__ +illustrating how to use this function to implement basic cookie-based +HTTP authentication. Note that a more realistic implementation would +use `JWT-based authentication +`__. + + Performance and concurrency ---------------------------