Assuming someone clicks a button and it redirects them to the login screen, once they've logged-in/signed-up we want to redirect them back to the page they were on. To do this, we can just have a query param on login screen to allow a "redirectToURL" for a successful login/register.
Assuming someone clicks a button and it redirects them to the login screen, once they've logged-in/signed-up we want to redirect them back to the page they were on. To do this, we can just have a query param on login screen to allow a "redirectToURL" for a successful login/register.