From 4693ecad7556f13248c13c243d26fc0fd8b57465 Mon Sep 17 00:00:00 2001 From: Alexandre Garbe Date: Tue, 16 Jul 2024 14:07:31 +0200 Subject: [PATCH] chore(admin-react): removed post-login redirect on login --- .../reva-admin-react/src/components/auth/keycloakContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/reva-admin-react/src/components/auth/keycloakContext.tsx b/packages/reva-admin-react/src/components/auth/keycloakContext.tsx index d31b9478b..1db0c4081 100644 --- a/packages/reva-admin-react/src/components/auth/keycloakContext.tsx +++ b/packages/reva-admin-react/src/components/auth/keycloakContext.tsx @@ -112,7 +112,7 @@ export const KeycloakProvider = ({ setTimeoutRefreshToken(); } else { keycloakInstance.login({ - redirectUri: window.location.origin + "/admin2/post-login", + redirectUri: window.location.origin, }); }