You can try setting the “intended URL” by using the guest
method of the Redirector, “Create a new redirect response, while putting the current URL in the session.”:
return redirect()->guest(route('register'));
CLICK HERE to find out more related problems solutions.