Answer the question
In order to leave comments, you need to log in
How to return the user to the page after logging in via Socialite?
From the post page where you can leave a comment, I go directly to auth/vkontakte
Auth\[email protected]
To write down the url, I do:
Session::flash('url',Request::server('HTTP_REFERER'));
return redirect(Session::get('url'));
Answer the question
In order to leave comments, you need to log in
Well, look further in the logs, where the error from your code comes from and what you give as an answer there and give what the framework asks you to - a string or an object that implements the string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question