Aug 6, 2018
0
Level 1
No cookies in Request Header on localhost with different port
Hi.
I'm using Laravel 5.4 for the backend and using Angular 6 in the frontend. While developing I use the Angular dev server which listens to port 4200. When I log into my Laravel Application, I can't make requests because the cookie Headers are not set automatically with domain localhost:4200.
Is there a way to tell Laravel to use all ports on localhost or to allow localhost:4200 too?
Thanks.
Please or to participate in this conversation.