I need to redirect to '/hello' on successfull login
a
I need to redirect to '/hello' on successfull login
r
hey @anu05891
can i see the config you have provided on the frontend?
a
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
whats the value of appInfo?
a
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
Thanks @rp it worked
r
great