Route to original page after login
diego-escobedo opened this issue · 3 comments
Right now, we send you to the dashboard screen after you log in every time. Instead, what we should be doing is sending you to the page you wanted to go to originally (e.g. /settings/integrations/). This can probably be fixed from the routes page
so right now i think we have redirectDashboard()
that takes to dashboard page after Authentication.login()
right?
and we just want to redirect to something like settings/integrations
on successful login. is this the problem statement?
so it's just a small fix, right?
So it should be dependent on where the user originally wanted to go. They could have entered the address https://app.uselotus.io/customers/cust_654d47b61457486f19c7787a59e27 because they're trying to look at a specific customers data. However , as you noted, they will be redirected to Dashboard. The idea is not matter what they enter, to navigate them to that page upon successful authentication. Does that make sense?
Resolved! Nice job @Aashish-Upadhyay-101 💪