Mercurial > hg > orthanc-book
comparison 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 |
comparison
equal
deleted
inserted
replaced
273:869d6efbb54c | 274:c310a795c133 |
---|---|
308 :ref:`DICOM hierarchy <model-world>` are ignored by the authorization | 308 :ref:`DICOM hierarchy <model-world>` are ignored by the authorization |
309 plugin. This can be used to reduce the number of calls to the Web | 309 plugin. This can be used to reduce the number of calls to the Web |
310 service. Think for instance about an authorization mechanism that | 310 service. Think for instance about an authorization mechanism that |
311 simply associates its studies to a set of granted users: In this case, | 311 simply associates its studies to a set of granted users: In this case, |
312 the series and instance levels can be ignored. | 312 the series and instance levels can be ignored. |
313 | 313 |
314 | |
315 .. _orthanc-explorer-authorization: | |
316 | |
317 Integration with the Orthanc Explorer | |
318 ------------------------------------- | |
319 | |
320 Starting from Orthanc 1.5.8, you can pass authorization tokens in the url | |
321 search params when opening the Orthanc explorer i.e. | |
322 http://localhost:8042/app/explorer.html?token=1234. This token will be | |
323 included as an HTTP header in every request sent to the Orthanc Rest API. | |
324 It will also be included in the url search params when opening the Orthanc | |
325 or Osimis viewer. | |
326 | |
327 Only 3 tokens name will be recognized and forwarded: ``token``, ``auth-token`` | |
328 and ``authorization``. | |
329 | |
330 Please note that the Orthanc Explorer has not been designed to handle | |
331 the authorization so, when an authorization is not granted, it will simply | |
332 display an empty page or an error message. |