Wednesday, April 20, 2022

[FIXED] How can i resend session cookie with angular?

Issue

we have api buildet with laravel and we use JWT to securse our api,we send each request with set cookie and head but in front we use angular we have problem to send this cookie with diferent domaine name. need help


Solution

You can never set a cookie on a different domainname… unless you let the front-end handle setting the cookie



Answered By - Peter Fox
Answer Checked By - Senaida (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.