I tried to logout with redirect (Laravel 5.7):
$logoutUrl = sprintf(
return \Redirect::intended( $logoutUrl);
The URL is also mentioned in Allowed Logout URLs after one URLs used for development (they are completely different and comma-separated as described in docs).
Code in both applications is same, excepts data from env files.
My problem is - when I tried to logout using the code above - I was redirected to first URL from Allowed Logout URLs and it’s disappointing
So, is that my problem and I need to seek in my code for redirects normal behavior or I need to change something in application setting on