Social Login

Log in with your social media accounts!

← Back to Social Login Support

Problem, google does not redirect to the page defined in the parameter S.

<a href="{{ link }}?s={{ 'account'|page }}&f={{ 'login'|page }}">{{ name }}</a>

Always redirects to root /

up

up. same with facebook The problem is that Session doesn't work in routes.php...

Last updated

up

in route.php

//after setting session values

Session::flash('flynsarmy_sociallogin_successredirect', $success_redirect);
Session::flash('flynsarmy_sociallogin_errorredirect', $error_redirect);

//save the session

Session::save();

As for me it solves the problem. Hope for you too...

Last updated

did you see the post above @Flynsarmy ?

Hello, could you please update plugin as explained in denis.dolgih52931 post? Adding Session::save() after Session::flash does the job and redirect works.

+1

denis.dolgih52931 said:

in route.php

//after setting session values

Session::flash('flynsarmy_sociallogin_successredirect', $success_redirect);
Session::flash('flynsarmy_sociallogin_errorredirect', $error_redirect);

//save the session

Session::save();

As for me it solves the problem. Hope for you too... Hello;

where is this route.php file?

1-9 of 9