Mercurial > hg > orthanc-book
diff Sphinx/source/plugins/authorization.rst @ 274:c310a795c133
auth-token in search params
author | amazy |
---|---|
date | Tue, 03 Sep 2019 12:04:51 +0200 |
parents | b56083f38695 |
children | 84e3a2612c36 |
line wrap: on
line diff
--- a/Sphinx/source/plugins/authorization.rst Mon Sep 02 10:04:57 2019 +0200 +++ b/Sphinx/source/plugins/authorization.rst Tue Sep 03 12:04:51 2019 +0200 @@ -310,4 +310,23 @@ service. Think for instance about an authorization mechanism that simply associates its studies to a set of granted users: In this case, the series and instance levels can be ignored. - + + +.. _orthanc-explorer-authorization: + +Integration with the Orthanc Explorer +------------------------------------- + +Starting from Orthanc 1.5.8, you can pass authorization tokens in the url +search params when opening the Orthanc explorer i.e. +http://localhost:8042/app/explorer.html?token=1234. This token will be +included as an HTTP header in every request sent to the Orthanc Rest API. +It will also be included in the url search params when opening the Orthanc +or Osimis viewer. + +Only 3 tokens name will be recognized and forwarded: ``token``, ``auth-token`` +and ``authorization``. + +Please note that the Orthanc Explorer has not been designed to handle +the authorization so, when an authorization is not granted, it will simply +display an empty page or an error message.