Back to Social Login Support

ribbsousa
ribbsousa

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 /

paolo50579
patos
patos

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

Last updated

mark35663
denis.dolgih52931
denis.dolgih52931

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

mjauvin
mjauvin

did you see the post above @Flynsarmy ?

Marius Gi
Marius Gi

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

patos
cassiotalle
cassiotalle

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