rchawdhari 0 Light Poster

Hi Guys,
I am moving my project from angular 1 to react. Is anybody can help me that how can I authenticate every api calls . I check before every api call that access token exist in cookie or not . Is it not exist redirect to login page