Error on redirect after authorization

If I don’t need one for localhost, does that suggest that installing SSL certificate will not fix the issue I’m currently experiencing?