Mercurial > hg > orthanc-authorization
comparison Plugin/Plugin.cpp @ 66:b7fd466764cc
fix path for oe2 keycloak
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 17 Feb 2023 14:27:54 +0100 |
parents | a89e1fcf56b1 |
children | 1a13c4fbc9a1 |
comparison
equal
deleted
inserted
replaced
65:a89e1fcf56b1 | 66:b7fd466764cc |
---|---|
361 } | 361 } |
362 | 362 |
363 if (standardConfigurations.find("orthanc-explorer-2") != standardConfigurations.end()) | 363 if (standardConfigurations.find("orthanc-explorer-2") != standardConfigurations.end()) |
364 { | 364 { |
365 uncheckedFolders_.push_back("/ui/app/"); | 365 uncheckedFolders_.push_back("/ui/app/"); |
366 uncheckedResources_.insert("/ui/app/configuration"); // for the UI to know, i.e. if Keycloak is enabled or not | 366 uncheckedResources_.insert("/ui/api/pre-login-configuration"); // for the UI to know, i.e. if Keycloak is enabled or not |
367 | 367 |
368 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); // for basic-auth | 368 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); // for basic-auth |
369 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "token")); // for keycloak | 369 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "token")); // for keycloak |
370 } | 370 } |
371 | 371 |