[DEV] fix a bug

Signed-off-by: Edouard DUPIN <yui.heero@gmail.com>
This commit is contained in:
Edouard DUPIN 2025-02-10 21:54:59 +01:00
parent c2bad22ae5
commit 9ad5e9ce80
2 changed files with 3 additions and 2 deletions

View File

@ -46,8 +46,8 @@ public class Initialization extends MigrationSqlStep {
//app.id = 1L; //app.id = 1L;
app.name = "karso"; app.name = "karso";
app.description = "Root SSO interface"; app.description = "Root SSO interface";
app.redirect = "https://atria-soft.org/karso"; app.redirect = "https://atria-soft.org/karso/sso";
app.redirectDev = "http://localhost:4003/karso"; app.redirectDev = "http://localhost:4003/karso/sso";
app.notification = ""; app.notification = "";
app.ttl = 666; app.ttl = 666;
this.app = da.insert(app); this.app = da.insert(app);

View File

@ -39,6 +39,7 @@ export const AppRoutes = () => {
path="signin/:applicationName/*" path="signin/:applicationName/*"
element={<SignInDonePage />} element={<SignInDonePage />}
/> />
<Route path="sso/*" element={<Navigate to="home" replace />} />
<Route path="signout/*" element={<SignOutPage />} /> <Route path="signout/*" element={<SignOutPage />} />
<Route path="manage-account/*" element={<ManageAccountPage />} /> <Route path="manage-account/*" element={<ManageAccountPage />} />
<Route path="help" element={<HelpPage />} /> <Route path="help" element={<HelpPage />} />