Error on redirect after authorization

I’m using node with passport library.