changeset 120:9ebcda90587f

fix
author Alain Mazy <am@osimis.io>
date Tue, 12 Sep 2023 14:31:09 +0200
parents 66b2b938c43e
children ba9d72ecdbc4
files Plugin/Plugin.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Tue Sep 12 12:39:15 2023 +0200
+++ b/Plugin/Plugin.cpp	Tue Sep 12 14:31:09 2023 +0200
@@ -1162,7 +1162,7 @@
             uncheckedResources_.insert("/");                                      // for the redirect to /ui/app/
             uncheckedResources_.insert("/ui/api/pre-login-configuration");        // for the UI to know, i.e. if Keycloak is enabled or not
             uncheckedResources_.insert("/ui/api/configuration");
-            uncheckedResources_.insert("/auth/user-profile");
+            uncheckedResources_.insert("/auth/user/profile");
 
             tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization"));  // for basic-auth
             tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "token"));          // for keycloak