Moved the restricted-api iframe src to /auth/api/restricted and removed the endpoint of the other restricted app.

This commit is contained in:
2025-12-02 18:34:59 +00:00
parent 15916047fa
commit eedbd4aaa4
6 changed files with 14 additions and 17 deletions
+3 -3
View File
@@ -111,7 +111,7 @@
iframe.title = 'Authentication';
document.body.appendChild(iframe);
}
iframe.src = '/auth/restricted-api/?mode=login';
iframe.src = '/auth/api/restricted?mode=login';
showStatus('Login mode loaded - for users who are not authenticated', 'info');
}
@@ -123,7 +123,7 @@
iframe.title = 'Authentication';
document.body.appendChild(iframe);
}
iframe.src = '/auth/restricted-api/?mode=reauth';
iframe.src = '/auth/api/restricted?mode=reauth';
showStatus('Reauth mode loaded - for additional verification of authenticated users', 'info');
}
@@ -133,7 +133,7 @@
iframe = document.createElement('iframe');
iframe.id = 'auth-iframe';
iframe.title = 'Authentication';
iframe.src = '/auth/restricted-api';
iframe.src = '/auth/api/restricted';
document.body.appendChild(iframe);
iframeInitialized = true;
}