diff --git a/src/App.vue b/src/App.vue
index 73b649b43865ac2010b0334af6cca9bed184d67d..f98e4b1eaeb36bfb583c5673b876aeb145dcfc0c 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -144,7 +144,7 @@ function getReturnUrlParam() {
 
 function getReturnUrl(method: string) {
   const returnUrl = encodeURI(
-    '/coscine/api/Coscine.STS/' + method + '/login?returnUrl=' + getReturnUrlParam(),
+    '/coscine/api/Coscine.Api.STS/' + method + '/login?returnUrl=' + getReturnUrlParam(),
   );
   return returnUrl;
 }