Good afternoon, I’m starting with Orthanc.
I installed the authorization plugin and pass a token in the URL to open the StoneWebViewer preview. After several readings and configurations, Stone starts to open and these errors appear in the attached images.
orthanc.json: {
“Name”: “MyOrthanc”,
“RemoteAccessAllowed”: true,
“AuthenticationEnabled”: false,
“Plugins”: [
“/usr/local/share/orthanc/plugins”
],
“Authorization”: {
“WebService”: “http://172.18.0.1:3000/api/estudos/auth-orthanc”,
“AllowLocalUnauthenticated”: false,
“TokenHttpHeaders”: [ “token” ],//“auth-token”, “authorization”, “token”
“TokenGetArguments”: [ “token” ], //auth-token works
“CacheSize”: 100,
“CacheExpiration”: 30,
“WebServiceTokenValidationUrl” : “http://172.18.0.1:3000/api/estudos/auth-orthanc”,
“StandardConfigurations”: [
“osimis-web-viewer”,
“stone-webviewer”,
“orthanc-explorer-2”
]
Inside the API I read the token and grant access with granted: true,
If I grant access to all routes in the link it opens, but it’s not secure this way.
