Kranos
03/11/2023, 11:26 AMhttp://localhost:3000/
but I'd like it to direct to http://localhost:3000/user
rp_st
03/11/2023, 1:08 PMrp_st
03/11/2023, 1:08 PMKranos
03/11/2023, 1:10 PMgetRedirectionURL: async (context) => {
if (context.action === "SUCCESS") {
if (context.redirectToPath !== undefined) {
// we are navigating back to where the user was before they authenticated
return context.redirectToPath;
}
return "/dashboard";
}
return undefined;
}
rp_st
03/11/2023, 2:04 PM