comparison Plugin/Plugin.cpp @ 120:9ebcda90587f

fix
author Alain Mazy <am@osimis.io>
date Tue, 12 Sep 2023 14:31:09 +0200
parents 66b2b938c43e
children d5232d374fd8
comparison
equal deleted inserted replaced
119:66b2b938c43e 120:9ebcda90587f
1160 uncheckedFolders_.push_back("/ui/app/"); 1160 uncheckedFolders_.push_back("/ui/app/");
1161 uncheckedFolders_.push_back("/ui/landing/"); 1161 uncheckedFolders_.push_back("/ui/landing/");
1162 uncheckedResources_.insert("/"); // for the redirect to /ui/app/ 1162 uncheckedResources_.insert("/"); // for the redirect to /ui/app/
1163 uncheckedResources_.insert("/ui/api/pre-login-configuration"); // for the UI to know, i.e. if Keycloak is enabled or not 1163 uncheckedResources_.insert("/ui/api/pre-login-configuration"); // for the UI to know, i.e. if Keycloak is enabled or not
1164 uncheckedResources_.insert("/ui/api/configuration"); 1164 uncheckedResources_.insert("/ui/api/configuration");
1165 uncheckedResources_.insert("/auth/user-profile"); 1165 uncheckedResources_.insert("/auth/user/profile");
1166 1166
1167 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); // for basic-auth 1167 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); // for basic-auth
1168 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "token")); // for keycloak 1168 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "token")); // for keycloak
1169 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_GetArgument, "token")); // for download links in OE2 1169 tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_GetArgument, "token")); // for download links in OE2
1170 } 1170 }