For your case, I guest you are using middleware to check if the user is already logged in. And this might the problem that you get redirect to ...
Lee mas