https://supertokens.com/ logo
a

anu

06/10/2022, 12:58 PM
I need to redirect to '/hello' on successfull login
r

rp

06/10/2022, 1:17 PM
hey @anu
can i see the config you have provided on the frontend?
a

anu

06/10/2022, 1:21 PM
Something like { appInfo, recipeList: [ EmailPasswordReact.init({ palette: { primary: PRIMARY_COLOR_LIGHT_MODE, textLink: PRIMARY_COLOR_LIGHT_MODE, error: ERROR_COLOR_LIGHT_MODE, }, }), SessionReact.init(), ], }
r

rp

06/10/2022, 1:22 PM
whats the value of appInfo?
a

anu

06/10/2022, 1:22 PM
export const appInfo = { // learn more about this on https://supertokens.com/docs/passwordless/appinfo appName: 'APP_NAME', apiDomain: API_URL, websiteDomain: WEB_APP_URL, apiBasePath: '/auth', websiteBasePath: '/auth', };
a

anu

06/10/2022, 1:37 PM
Thanks @rp it worked
r

rp

06/10/2022, 1:37 PM
great