BrowserSync / browser-sync

Keep multiple browsers & devices in sync when building websites. https://browsersync.io
https://discord.gg/2d2xUThp
Apache License 2.0
12.18k stars 756 forks source link

can't redirect to homepage after authentication #635

Open kherP opened 9 years ago

kherP commented 9 years ago

Hi, I'm having problem to redirect to homepage after authentication. I'm developing a project in laravel 5 and angularjs. I included browserSync with gulp in the project. The problem only occurs when I use laravel middleware and enable browserSync. I think the problem occurs because authentication session is not persist. What can I do to make session to be persist?

kherP commented 9 years ago

@shinnn thx :D

shinnn commented 9 years ago

@kherP ? I haven't fix anything related to this issue yet.

kherP commented 9 years ago

Sorry! XD I didn't read the comment, just closed the issue as I thought that reply was a solution to this.

shinnn commented 9 years ago

@kherP No problem :)

Arcrammer commented 8 years ago

So what is the solution to this issue, then? My Laravel application is trying to return the auth.login view but there intentionally isn't one.

davi5e commented 5 years ago

Almost 4 years later, have anyone solved this?

In my case, not only the login doesn't work, but anything session-related, as with status messages.

I can make browserSync work so long I never need to test sessions... (login: don't ever use "remeber me" and it goes through — also disable CSRF validation)