diff --git a/packages/developer-portal/src/components/pages/login/login.tsx b/packages/developer-portal/src/components/pages/login/login.tsx index c4c1c503b3..8e99915b5c 100644 --- a/packages/developer-portal/src/components/pages/login/login.tsx +++ b/packages/developer-portal/src/components/pages/login/login.tsx @@ -33,8 +33,8 @@ export const handleShowNotificationAfterPasswordChanged = ( export const onLoginButtonClick = (isFirtTimeLogin: boolean) => { return () => { - // const redirectRoute = getDefaultRoute(isFirtTimeLogin) - redirectToLogin(window.reapit.config.cognitoClientId, 'http://localhost:8080/developer/apps', 'DEVELOPER') + const redirectRoute = getDefaultRoute(isFirtTimeLogin) + redirectToLogin(window.reapit.config.cognitoClientId, redirectRoute, 'DEVELOPER') } }