Actually what i want is to authenticate the user from twitter and redirect him to the last search he has performed.Rather then, redirecting him to the home page.
I am using React,Express and mongodb (mongoose).
P.S: I have searched quite a lot but couldn’t file anything that would best address my issue.