I have a question about routing with React.
My goal
In a normal login, I use dispatch(push('/')) and the user jumps to the Home after log in, but I want the user to be redirected to the requested page (add info page in this repo) when log in from a link in the email sent to the user.(The URL have a token)
e.g. This link will be emailed. https://localhost/add-info/token
When the user presses the above link in the email, the user will be redirected to the login page and After logging in, I want the user to go to the information registration page instead of the home page.
I want to implement this, but I don't know how. Can someone please tell me how to do this?
